summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordylan <dylan.araps@gmail.com>2020-01-23 10:38:33 +0200
committerGitHub <noreply@github.com>2020-01-23 10:38:33 +0200
commitc1d90676f9074cf4131f8cb94aeb2344d6fc8ecc (patch)
tree63e7fe384b10449fd893b5a2da3e90199df21dae /tests
parent7ecc2ffd39d1c01639da666dd4dbe0aa4789f85c (diff)
parent3537e8cc8f2af2051dd695ef1ca7247e76e0f74f (diff)
Merge branch 'master' into add-vs-code-support
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_colors.py5
-rwxr-xr-xtests/test_sequences.py2
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_colors.py b/tests/test_colors.py
index a3b939c..0946585 100755
--- a/tests/test_colors.py
+++ b/tests/test_colors.py
@@ -12,11 +12,6 @@ class TestGenColors(unittest.TestCase):
result = colors.get("tests/test_files/test.jpg")
self.assertEqual(len(result["colors"]["color0"]), 7)
- def test_gen_colors_fail(self):
- """> Generate a colorscheme and fail."""
- with self.assertRaises(SystemExit):
- colors.get("tests/test_files/test.png")
-
def test_color_import(self):
"""> Read colors from a file."""
result = colors.file("tests/test_files/test_file.json")
diff --git a/tests/test_sequences.py b/tests/test_sequences.py
index 3e9f855..d37de7b 100755
--- a/tests/test_sequences.py
+++ b/tests/test_sequences.py
@@ -48,7 +48,7 @@ class Testsequences(unittest.TestCase):
def test_set_iterm_tab_color(self):
"""> Create iterm tab color sequences"""
result = sequences.set_iterm_tab_color(COLORS["special"]["background"])
- self.assertEqual(len(result), 104)
+ self.assertEqual(len(result), 84)
if __name__ == "__main__":