Change to be an extension
This commit is contained in:
@@ -10,20 +10,6 @@ class TestKmkKeyboard(unittest.TestCase):
|
||||
|
||||
keyboard.test('Simple key press', [(0, True), (0, False)], [{KC.N1}, {}])
|
||||
|
||||
def test_basic_kmk_keyboard_replace_string_primary_name(self):
|
||||
keyboard = KeyboardTest([], [['1', '2', '3', '4']])
|
||||
|
||||
keyboard.test('Simple key press', [(0, True), (0, False)], [{KC.N1}, {}])
|
||||
|
||||
def test_basic_kmk_keyboard_replace_string_secondary_name(self):
|
||||
keyboard = KeyboardTest([], [['N1', 'N2', 'N3', 'N4']])
|
||||
|
||||
keyboard.test('Simple key press', [(0, True), (0, False)], [{KC.N1}, {}])
|
||||
|
||||
def test_basic_kmk_keyboard_unknown_replacement_string(self):
|
||||
with self.assertRaises(ValueError):
|
||||
KeyboardTest([], [['UNKNOWN1', 'UNKNOWN2', 'UNKNOWN3', 'UNKNOWN4']])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Reference in New Issue
Block a user