summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_qmk_path.py
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-11-12 17:27:08 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2019-11-12 18:41:38 -0800
commit79edb7c5942108774e667c172550a1519c5543ac (patch)
tree37fc007c4548f2cb86f51c6608b7da14e30acec0 /lib/python/qmk/tests/test_qmk_path.py
parentd1b6c11b7f4cc24c50d2b640a94925acf6450da6 (diff)
Small CLI cleanups
* yapf changes * Fix the cformat test * Make the normpath test work when run from / * `qmk config`: Mark `--read-only` as arg_only
Diffstat (limited to 'lib/python/qmk/tests/test_qmk_path.py')
-rw-r--r--lib/python/qmk/tests/test_qmk_path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_qmk_path.py b/lib/python/qmk/tests/test_qmk_path.py
index 94dbf3a6a6..d6961a0f65 100644
--- a/lib/python/qmk/tests/test_qmk_path.py
+++ b/lib/python/qmk/tests/test_qmk_path.py
@@ -10,4 +10,4 @@ def test_keymap_onekey_pytest():
def test_normpath():
path = qmk.path.normpath('lib/python')
- assert path == os.environ['ORIG_CWD'] + '/lib/python'
+ assert path == os.path.join(os.environ['ORIG_CWD'], 'lib/python')