You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import os
|
|
|
|
import qmk.path
|
|
|
|
def test_keymap_onekey_pytest():
|
|
path = qmk.path.keymap('handwired/onekey/pytest')
|
|
assert path == 'keyboards/handwired/onekey/keymaps'
|
|
|
|
|
|
def test_normpath():
|
|
path = qmk.path.normpath('lib/python')
|
|
assert path == os.environ['ORIG_CWD'] + '/lib/python'
|