summaryrefslogtreecommitdiff
path: root/tests/test_sequences.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sequences.py')
-rwxr-xr-xtests/test_sequences.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sequences.py b/tests/test_sequences.py
index a5c9d07..19ea6e2 100755
--- a/tests/test_sequences.py
+++ b/tests/test_sequences.py
@@ -28,8 +28,8 @@ class Testsequences(unittest.TestCase):
"""> Send sequences to all open terminals."""
with unittest.mock.patch('sys.stdout', new=io.StringIO()) as fake_out:
sequences.send(COLORS, False)
- self.assertEqual(fake_out.getvalue().strip(),
- "colors: Set terminal colors")
+ data = fake_out.getvalue().strip()
+ self.assertTrue(data.endswith("colors: Set terminal colors"))
if __name__ == "__main__":