Module: check_mk
Branch: master
Commit: d52af6fcd98c3be984a4bbcb866e1883d8608159
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d52af6fcd98c3b…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Fri Apr 20 08:38:37 2018 +0200
Win-agent: fix winperf integration test
---
agents/windows/it/test_section_winperf.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/agents/windows/it/test_section_winperf.py
b/agents/windows/it/test_section_winperf.py
index c35d151..dfa0ccc 100644
--- a/agents/windows/it/test_section_winperf.py
+++ b/agents/windows/it/test_section_winperf.py
@@ -29,5 +29,7 @@ def expected_output():
r'|\-?\d+( \d+)+ [\w\(\)]+')
-def test_section_winperf(testconfig, expected_output, actual_output, testfile):
- remotetest(expected_output, actual_output, testfile)
+def test_section_winperf(request, testconfig, expected_output, actual_output,
+ testfile):
+ # request.node.name gives test name
+ remotetest(expected_output, actual_output, testfile, request.node.name)