diff options
| author | Dylan Araps <dylanaraps@users.noreply.github.com> | 2017-08-12 18:42:27 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-12 18:42:27 +1000 |
| commit | 8be48c07fff889ed085744cc0cf585b6d0b71a89 (patch) | |
| tree | 839edfa96574721cc6fc82ef18059d75ebef792e /tests/test_main.py | |
| parent | f14aaf5a4fd1847a5316f9c41965daebc23db818 (diff) | |
| parent | c743cab4f0b74e928496c2a5052906da52acc8f7 (diff) | |
Merge pull request #79 from dylanaraps/35
general: Add support for Python 3.5
Diffstat (limited to 'tests/test_main.py')
| -rw-r--r-- | tests/test_main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_main.py b/tests/test_main.py index 196e3cf..1cc1e57 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -2,6 +2,8 @@ import unittest import unittest.mock +import os + from pywal import __main__ from pywal import reload from pywal import wallpaper @@ -22,7 +24,8 @@ class TestMain(unittest.TestCase): """> Test arg parsing (-c).""" args = __main__.get_args(["-c"]) __main__.process_args(args) - self.assertFalse((CACHE_DIR / "schemes").is_dir()) + scheme_dir = os.path.join(CACHE_DIR, "schemes") + self.assertFalse(os.path.isdir(scheme_dir)) def test_args_e(self): """> Test arg parsing (-e).""" |
