mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-09 22:37:33 +02:00
tests: Fix failing test
This commit is contained in:
@ -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__":
|
||||
|
Reference in New Issue
Block a user