Move iot fixtures into iot subfolder (#1299)

This commit is contained in:
Steven B. 2024-11-22 20:19:33 +00:00 committed by GitHub
parent c5830a4cdc
commit f4316110c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
78 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ FixtureResult = namedtuple("FixtureResult", "filename, folder, data")
SMART_FOLDER = "tests/fixtures/smart/"
SMARTCAMERA_FOLDER = "tests/fixtures/smartcamera/"
SMART_CHILD_FOLDER = "tests/fixtures/smart/child/"
IOT_FOLDER = "tests/fixtures/"
IOT_FOLDER = "tests/fixtures/iot/"
ENCRYPT_TYPES = [encrypt_type.value for encrypt_type in DeviceEncryptionType]

View File

@ -45,7 +45,7 @@ DEVICE_TYPE_TO_PRODUCT_GROUP = {
SUPPORTED_FILENAME = "SUPPORTED.md"
README_FILENAME = "README.md"
IOT_FOLDER = "tests/fixtures/"
IOT_FOLDER = "tests/fixtures/iot/"
SMART_FOLDER = "tests/fixtures/smart/"
SMART_CHILD_FOLDER = "tests/fixtures/smart/child"
SMARTCAMERA_FOLDER = "tests/fixtures/smartcamera/"

View File

@ -35,7 +35,7 @@ FixtureInfo.__eq__ = lambda x, y: hash(x) == hash(y) # type: ignore[method-assi
SUPPORTED_IOT_DEVICES = [
(device, "IOT")
for device in glob.glob(
os.path.dirname(os.path.abspath(__file__)) + "/fixtures/*.json"
os.path.dirname(os.path.abspath(__file__)) + "/fixtures/iot/*.json"
)
]