Skip to content

Commit cdb94b1

Browse files
committed
Dev: unittest: Add unit test for crm report module
1 parent feffabd commit cdb94b1

File tree

6 files changed

+1981
-134
lines changed

6 files changed

+1981
-134
lines changed

data-manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ test/unittests/test_parse.py
202202
test/unittests/test_prun.py
203203
test/unittests/test_qdevice.py
204204
test/unittests/test_ratrace.py
205+
test/unittests/test_report_collect.py
206+
test/unittests/test_report_core.py
207+
test/unittests/test_report_utils.py
205208
test/unittests/test_sbd.py
206209
test/unittests/test_scripts.py
207210
test/unittests/test_service_manager.py

test/unittests/test_corosync.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,6 @@ def test_parse(self):
308308
_valid(p)
309309
self.assertEqual(p.get('bananas'), '5')
310310

311-
def test_logfile(self):
312-
self.assertEqual(corosync.logfile(F1), '/var/log/cluster/corosync.log')
313-
self.assertEqual(corosync.logfile('# nothing\n'), None)
314-
315311
def test_udpu(self):
316312
p = Parser(F2)
317313
_valid(p)

0 commit comments

Comments
 (0)