summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 22:06:12 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 22:06:12 +1000
commitaa6b1516310c9022359e41280426007355da8051 (patch)
treeb476648cda1e6998736f1417abceb1b900ae24c8
parent2e39be9627571af3844c5a2d5f2f826d9e80fcea (diff)
tests: Fix failing test
-rw-r--r--README.md3
-rwxr-xr-xtests/test_sequences.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7f6f009..0aa09c9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# pywal (A `wal` rewrite in Python 3)
-[![PyPI](https://img.shields.io/pypi/v/pywal.svg)](https://pypi.python.org/pypi/pywal/) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md) [![Build Status](https://travis-ci.org/dylanaraps/pywal.svg?branch=master)](https://travis-ci.org/dylanaraps/pywal)
+[![PyPI](https://img.shields.io/pypi/v/pywal.svg)](https://pypi.python.org/pypi/pywal/) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md) [![Build Status](https://travis-ci.org/dylanaraps/pywal.svg?branch=master)](https://travis-ci.org/dylanaraps/pywal) [![codecov](https://codecov.io/gh/dylanaraps/pywal/branch/master/graph/badge.svg)](https://codecov.io/gh/dylanaraps/pywal)
+
**\[[Installation](https://github.com/dylanaraps/pywal/wiki/Installation)\] \[[Getting Started](https://github.com/dylanaraps/pywal/wiki/Getting-Started)\] \[[Customization](https://github.com/dylanaraps/pywal/wiki/Customization)\] \[[Wiki](https://github.com/dylanaraps/pywal/wiki)\]**
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__":