aboutsummaryrefslogtreecommitdiff
path: root/tests/test_main.py
diff options
context:
space:
mode:
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)"""