From 46351f20ac497e1901a55859c2a4978982048e8d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 21 Jun 2018 08:22:51 +1000 Subject: sequences: fix test --- tests/test_sequences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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__": -- cgit v1.2.3 From d525bab593a42407b41375aaa6de24f6a04e5ea6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 6 Jul 2018 08:36:29 +1000 Subject: travis: 3.7 support --- tests/test_colors.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests') 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") -- cgit v1.2.3