---
depends_on: "base_test.yaml"
designs:
  - tags:
      - name: "Test Tag"
        description: "Some Description"

    locations:
      - name: "site_1"
        location_type__name: "Site"
        status__name: "Active"
        tags:
          - {"!get:name": "Test Tag"}
checks:
  - equal:
      - model: "nautobot.dcim.models.Location"
        query: {name: "site_1"}
        attribute: "tags"
      - model: "nautobot.extras.models.Tag"
