Skip to content

Commit

Permalink
Bump dependencies in poetry.lock (#1641)
Browse files Browse the repository at this point in the history
Run poetry update to update all dependencies to correct
dependabot-reported security issues.

Closes #1637
Closes #1624
Closes #1616
  • Loading branch information
rytilahti authored Jan 6, 2023
1 parent b2e7d1b commit b6fde94
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 256 deletions.
5 changes: 5 additions & 0 deletions miio/integrations/airpurifier/zhimi/tests/test_airfresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ def __init__(self, *args, **kwargs):

@pytest.fixture(scope="class")
def airfresh(request):
# pytest 7.2.0 changed the handling of marks, see https://github.com/pytest-dev/pytest/issues/7792
# the result is subclass device attribute to be overridden for TestAirFreshVA4,
# this hack checks if we already have a device to avoid doing that
if getattr(request.cls, "device", None) is not None:
return
request.cls.device = DummyAirFresh()
# TODO add ability to test on a real device

Expand Down
Loading

0 comments on commit b6fde94

Please sign in to comment.