diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:11 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:11 +1000 |
| commit | 05c271c3a7faf0e31c28df4a7743c8ce4369c670 (patch) | |
| tree | 4a415c27c24f9441e49f7339847e17c002623376 /tests/test_main.py | |
| parent | 979ec3ee1025e90c536ec013aa8b8fa29bed3a21 (diff) | |
general: Remove all pathlib usage
Diffstat (limited to 'tests/test_main.py')
| -rw-r--r-- | tests/test_main.py | 3 |
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)""" |
