CLI: Improve keymap folder resolution (#20981)
This commit is contained in:
parent
78afa1164d
commit
dc75c23f5c
5 changed files with 32 additions and 13 deletions
|
@ -5,8 +5,8 @@ import qmk.path
|
|||
|
||||
|
||||
def test_keymap_pytest_basic():
|
||||
path = qmk.path.keymap('handwired/pytest/basic')
|
||||
assert path.samefile('keyboards/handwired/pytest/basic/keymaps')
|
||||
path = qmk.path.keymap('handwired/pytest/basic', 'default')
|
||||
assert path.samefile('keyboards/handwired/pytest/basic/keymaps/default')
|
||||
|
||||
|
||||
def test_normpath():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue