1
0
Fork 0

Migrate python tests away from onekey (#11367)

* Migrate python tests away from onekey

* Add stub files to stop lint complaints

* Make all the pytest keymaps compile
This commit is contained in:
Joel Challis 2021-01-05 00:52:31 +00:00 committed by GitHub
parent 810eafad12
commit f03b10b6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 113 additions and 82 deletions

View file

@ -4,9 +4,9 @@ from pathlib import Path
import qmk.path
def test_keymap_onekey_pytest():
path = qmk.path.keymap('handwired/onekey/pytest')
assert path.samefile('keyboards/handwired/onekey/keymaps')
def test_keymap_pytest_basic():
path = qmk.path.keymap('handwired/pytest/basic')
assert path.samefile('keyboards/handwired/pytest/basic/keymaps')
def test_normpath():