now calling command.reset() before each test run

factory unit tests added

--run-slow flag added to pre-commit. (ensure all tests are run)
This commit is contained in:
onyx-and-iris
2022-07-16 21:54:41 +01:00
parent 1f522b997e
commit 08eff6da91
5 changed files with 48 additions and 5 deletions

View File

@@ -36,6 +36,6 @@ class TestSetRT:
)
def test_it_sends_a_text_request(self, kls, index, param, value):
tests._set_rt(f"{kls}[{index}]", param, value)
time.sleep(0.1)
time.sleep(0.02)
target = getattr(tests, kls)[index]
assert getattr(target, param) == bool(value)