Merge pull request #79 from dylanaraps/35

general: Add support for Python 3.5
This commit is contained in:
Dylan Araps
2017-08-12 18:42:27 +10:00
committed by GitHub
15 changed files with 102 additions and 96 deletions

View File

@ -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)."""