Module: check_mk
Branch: master
Commit: 885839f6967e3379ed36ab5a04243d489437b0cf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=885839f6967e33…
Author: Florian Kromer <fk(a)mathias-kettner.de>
Date: Fri Jan 4 14:14:38 2019 +0100
netapp_api_connection: add generic data reg test
Change-Id: I6c1c5e813794ed5e1969fd572c3c05841bc93ffe
---
.../checks/generictests/datasets/netapp_api_connection.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tests/unit/checks/generictests/datasets/netapp_api_connection.py
b/tests/unit/checks/generictests/datasets/netapp_api_connection.py
new file mode 100644
index 0000000..5a12428
--- /dev/null
+++ b/tests/unit/checks/generictests/datasets/netapp_api_connection.py
@@ -0,0 +1,13 @@
+checkname = 'netapp_api_connection'
+
+info = [['line_0_element_0', 'line_0_element_1'],
['line_1_element_0', 'line_1_element_1'],
+ ['line_2_element_0', 'line_2_element_1',
'line_2_element_2']]
+
+discovery = {'': [(None, [])]}
+
+checks = {
+ '': [(None, {}, [(
+ 1,
+ 'line_0_element_0 line_0_element_1, line_1_element_0 line_1_element_1,
line_2_element_0 line_2_element_1 line_2_element_2',
+ [])])]
+}