mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 09:23:08 +01:00
tests: Fix failing test
This commit is contained in:
parent
2e39be9627
commit
aa6b151631
@ -1,6 +1,7 @@
|
|||||||
# pywal (A `wal` rewrite in Python 3)
|
# 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)\]**
|
**\[[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)\]**
|
||||||
|
@ -28,8 +28,8 @@ class Testsequences(unittest.TestCase):
|
|||||||
"""> Send sequences to all open terminals."""
|
"""> Send sequences to all open terminals."""
|
||||||
with unittest.mock.patch('sys.stdout', new=io.StringIO()) as fake_out:
|
with unittest.mock.patch('sys.stdout', new=io.StringIO()) as fake_out:
|
||||||
sequences.send(COLORS, False)
|
sequences.send(COLORS, False)
|
||||||
self.assertEqual(fake_out.getvalue().strip(),
|
data = fake_out.getvalue().strip()
|
||||||
"colors: Set terminal colors")
|
self.assertTrue(data.endswith("colors: Set terminal colors"))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user