Speed up unit tests

This commit is contained in:
xs5871
2023-03-08 20:14:24 +00:00
committed by xs5871
parent fd700cff44
commit 47fe859e11
7 changed files with 107 additions and 74 deletions

View File

@@ -10,7 +10,7 @@ from tests.keyboard_test import KeyboardTest
class TestCapsWord(unittest.TestCase):
def setUp(self):
self.kb = KeyboardTest(
[CapsWord()],
[CapsWord(timeout=2 * KeyboardTest.loop_delay_ms)],
[
[KC.CW, KC.A, KC.Z, KC.N1, KC.N0, KC.SPC],
],