summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Araps <dylanaraps@users.noreply.github.com>2017-08-03 14:56:08 +1000
committerGitHub <noreply@github.com>2017-08-03 14:56:08 +1000
commita0a840d5a92acf2b26916f7e4a976ee3aec05628 (patch)
treef7e7c1c28d826477814312bcfac1bd5ecafc53e7 /tests
parent8a0b380eb548766e30c6e6d1818bbcbbef84c19a (diff)
parent282605376dc017cfe8a7d562e4a7e3f78bcb63f1 (diff)
Merge pull request #72 from aeikenberry/master
Fixes reload wallpaper weirdness and adds -e option
Diffstat (limited to 'tests')
-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()