From 6096af909ba75844e38f51f98813de2e2b639444 Mon Sep 17 00:00:00 2001 From: Tim Orme Date: Fri, 21 Apr 2023 23:17:44 -0700 Subject: [PATCH] Remove unused test sleep --- tests/read/sds011/test_sds011.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/read/sds011/test_sds011.py b/tests/read/sds011/test_sds011.py index 8a7b80b..41da71f 100644 --- a/tests/read/sds011/test_sds011.py +++ b/tests/read/sds011/test_sds011.py @@ -1,5 +1,3 @@ -import time - import pytest from aqimon.read.sds011 import NovaPmReader, ActiveModeReader, QueryModeReader @@ -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