Module: check_mk
Branch: master
Commit: c015878d9426db890de8f29b7a7787b99a696a8f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c015878d9426db…
Author: Florian Kromer <fk(a)mathias-kettner.de>
Date: Mon Feb 11 17:33:58 2019 +0100
ucs_bladecenter_topsystem: add regression test
Change-Id: I5cde32e83447d8a2aa10ba17f61a94915843557d
---
.../generictests/datasets/ucs_bladecenter_topsystem.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tests/unit/checks/generictests/datasets/ucs_bladecenter_topsystem.py
b/tests/unit/checks/generictests/datasets/ucs_bladecenter_topsystem.py
new file mode 100644
index 0000000..3add50c
--- /dev/null
+++ b/tests/unit/checks/generictests/datasets/ucs_bladecenter_topsystem.py
@@ -0,0 +1,15 @@
+checkname = 'ucs_bladecenter_topsystem'
+
+info = [[
+ 'topSystem', 'Address 192.168.1.1', 'CurrentTime
2015-07-15T16:40:27.600', 'Ipv6Addr ::',
+ 'Mode cluster', 'Name svie23ucsfi01', 'SystemUpTime
125:16:10:53'
+]]
+
+discovery = {'': [(None, None)]}
+
+checks = {
+ '': [(None, {}, [(0, 'Address: 192.168.1.1', []), (0,
'CurrentTime: 2015-07-15T16:40:27.600',
+ []), (0, 'Ipv6Addr: ::',
[]),
+ (0, 'Mode: cluster', []), (0, 'Name: svie23ucsfi01',
[]),
+ (0, 'SystemUpTime: 125:16:10:53', [])])]
+}