diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-07-24 00:00:35 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-07-24 00:00:35 +1000 |
| commit | 7ebc29ff3406feb973eb9ad81863b33a918047c3 (patch) | |
| tree | 5260d14656d8026ef4a505b3792e44b5daab818d /tests/test_sequences.py | |
| parent | b678a60a239cf08d7eb30906aa28c401c80e3dba (diff) | |
tests: Remove shitty tests
Diffstat (limited to 'tests/test_sequences.py')
| -rwxr-xr-x | tests/test_sequences.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_sequences.py b/tests/test_sequences.py index cc3d2db..dd69e62 100755 --- a/tests/test_sequences.py +++ b/tests/test_sequences.py @@ -1,7 +1,5 @@ """Test sequence functions.""" import unittest -import unittest.mock -import io from pywal import sequences from pywal import util @@ -31,13 +29,6 @@ class Testsequences(unittest.TestCase): result = sequences.set_color(11, COLORS["colors"]["color0"]) self.assertEqual(result, "\033]4;11;#1F211E\007") - def test_send_sequences(self): - """> Send sequences to all open terminals.""" - with unittest.mock.patch('sys.stdout', new=io.StringIO()) as fake_out: - sequences.send(COLORS, False) - data = fake_out.getvalue().strip() - self.assertTrue(data.endswith("colors: Set terminal colors")) - if __name__ == "__main__": unittest.main() |
