Skip to content

Commit

Permalink
Fix supported models test, we return now list instead of view
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Oct 23, 2022
1 parent fe0663e commit db807c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/tests/test_miotdevice.py
Expand Up @@ -150,7 +150,7 @@ def test_mapping_structure(cls):

@pytest.mark.parametrize("cls", MIOT_DEVICES)
def test_supported_models(cls):
assert cls.supported_models == cls._mappings.keys()
assert cls.supported_models == list(cls._mappings.keys())

# make sure that that _supported_models is not defined
assert not cls._supported_models
Expand Down

0 comments on commit db807c0

Please sign in to comment.