aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-07-24 22:30:53 +1000
committerGitHub <[email protected]>2017-07-24 22:30:53 +1000
commitd168d961a51bbb90617689bcbbc6c1d0f18d2f27 (patch)
treeaea346fc60a296a4ccaf367a2f6e48dd924e3f3f /tests
parentMerge pull request #57 from dylanaraps/gtk2 (diff)
parentgeneral: Rename constants (diff)
downloadpywal-d168d961a51bbb90617689bcbbc6c1d0f18d2f27.tar.xz
pywal-d168d961a51bbb90617689bcbbc6c1d0f18d2f27.zip
Merge pull request #58 from dylanaraps/gtk2
general: Rename constants
Diffstat (limited to 'tests')
-rw-r--r--tests/test_main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index ad0f6fe..4dbe580 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -2,7 +2,7 @@
import unittest
from pywal import __main__
-from pywal.settings import __cache_dir__
+from pywal.settings import CACHE_DIR
class TestMain(unittest.TestCase):
@@ -12,7 +12,7 @@ class TestMain(unittest.TestCase):
"""> Test arg parsing (-c)"""
args = __main__.get_args(["-c"])
__main__.process_args(args)
- self.assertFalse((__cache_dir__ / "schemes").is_dir())
+ self.assertFalse((CACHE_DIR / "schemes").is_dir())
if __name__ == "__main__":