aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sequences.py
diff options
context:
space:
mode:
authorAaron Eikenberry <[email protected]>2017-08-02 23:20:31 -0500
committerAaron Eikenberry <[email protected]>2017-08-02 23:20:31 -0500
commit6a4c7de6510e914b029a36461e2777633eb69060 (patch)
tree56c778489ff0bdebf41bcfe1f4611d923e394f94 /tests/test_sequences.py
parentAdds support for changing tab bar color in iTerm (diff)
downloadpywal-6a4c7de6510e914b029a36461e2777633eb69060.tar.xz
pywal-6a4c7de6510e914b029a36461e2777633eb69060.zip
fixes mac wallpaper
Diffstat (limited to 'tests/test_sequences.py')
-rwxr-xr-xtests/test_sequences.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_sequences.py b/tests/test_sequences.py
index dd69e62..66f4084 100755
--- a/tests/test_sequences.py
+++ b/tests/test_sequences.py
@@ -29,6 +29,11 @@ class Testsequences(unittest.TestCase):
result = sequences.set_color(11, COLORS["colors"]["color0"])
self.assertEqual(result, "\033]4;11;#1F211E\007")
+ 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), 3)
+
if __name__ == "__main__":
unittest.main()