Module: check_mk
Branch: master
Commit: 8dc94f44d99a441902ebf17ef6f689636da8b072
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8dc94f44d99a44…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Dec 10 11:34:59 2018 +0100
Silence mypy (we have no pytest.pyi). Added forgotten assert and fix test.
Change-Id: I17686c5f897a22ef6f1af2821951bd6c45f0d87c
---
tests/unit/cmk/gui/test_htmllib_OutputFunnel.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/unit/cmk/gui/test_htmllib_OutputFunnel.py
b/tests/unit/cmk/gui/test_htmllib_OutputFunnel.py
index b6fea41..a02b5f4 100644
--- a/tests/unit/cmk/gui/test_htmllib_OutputFunnel.py
+++ b/tests/unit/cmk/gui/test_htmllib_OutputFunnel.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-import pytest
+import pytest # type: ignore
from cmk.gui.htmllib import OutputFunnel
@@ -62,7 +62,7 @@ def test_output_funnel_drain(html):
def test_output_funnel_flush(html):
html.plug()
html.write("A")
- html.plug_text == ["A"]
+ assert html.plug_text == [["A"]]
html.flush()
assert html.written == "A"
assert html.plug_text == [[]]