Module: check_mk
Branch: master
Commit: 36a2e3c9ad1dbf0e41485b549e023ebd70a76df8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=36a2e3c9ad1dbf…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Tue Mar 7 11:29:09 2017 +0100
Tests: Removed redundant function argument.
Change-Id: I9a3e61d003d52c2fa7431b1004154f97450cb8be
---
tests/web/test_table.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/web/test_table.py b/tests/web/test_table.py
index 85437aa..9af7ada 100644
--- a/tests/web/test_table.py
+++ b/tests/web/test_table.py
@@ -189,7 +189,7 @@ def test_groupheader():
print bcolors.WARNING + "TODO"
-def test_table_wrapper(monkeypatch, tmpdir):
+def test_table_wrapper(monkeypatch):
import config
monkeypatch.setattr(config, "save_user_file", save_user_mock)
@@ -199,11 +199,11 @@ def test_table_wrapper(monkeypatch, tmpdir):
for searchable in [True, False]:
for limit in [None, 2]:
for output_format in ["html", "csv"]:
- passed, emsg = table_test_cubical(sortable, searchable, limit,
output_format, tmpdir)
+ passed, emsg = table_test_cubical(sortable, searchable, limit,
output_format)
assert passed, emsg
-def table_test_cubical(sortable, searchable, limit, output_format, tmpdir):
+def table_test_cubical(sortable, searchable, limit, output_format):
import table
html = TableTester()