Skip to content

Commit

Permalink
Remove unused test sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOrme committed Apr 22, 2023
1 parent 398f6cf commit 6096af9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/read/sds011/test_sds011.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import time

import pytest

from aqimon.read.sds011 import NovaPmReader, ActiveModeReader, QueryModeReader
Expand Down Expand Up @@ -304,10 +302,7 @@ def test_wake(self, reader: QueryModeReader):
result = reader.wake()
assert result.state == SleepState.WORK

# Make sure we can read again. Device takes a second to give accurate readings after wake.
time.sleep(3)
result2 = reader.query()

assert 999 > result2.pm25 > 0
assert 999 > result2.pm10 > 0

Expand Down

0 comments on commit 6096af9

Please sign in to comment.