summaryrefslogtreecommitdiff
path: root/tests/test_main.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
commit05c271c3a7faf0e31c28df4a7743c8ce4369c670 (patch)
tree4a415c27c24f9441e49f7339847e17c002623376 /tests/test_main.py
parent979ec3ee1025e90c536ec013aa8b8fa29bed3a21 (diff)
general: Remove all pathlib usage
Diffstat (limited to 'tests/test_main.py')
-rw-r--r--tests/test_main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index 7f1a1bb..daf9cab 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -16,7 +16,8 @@ class TestMain(unittest.TestCase):
"""> Test arg parsing (-c)"""
args = __main__.get_args(["-c"])
__main__.process_args(args)
- self.assertFalse(os.path.isdir(str(CACHE_DIR / "schemes")))
+ scheme_dir = os.path.join(CACHE_DIR, "schemes")
+ self.assertFalse(os.path.isdir(scheme_dir))
def test_args_e(self):
"""> Test arg parsing (-e)"""