Commit 42b7f228 authored by Torben Miny's avatar Torben Miny
Browse files

Merge branch 'fix/compliance_tool' into 'master'

cli: delete double tests and add instead a new one

Closes #111

See merge request !66
parents af73a4b0 e5f72f00
Pipeline #363793 passed with stage
in 59 seconds
......@@ -98,8 +98,8 @@ class ComplianceToolJsonTest(unittest.TestCase):
self.assertEqual(Status.SUCCESS, manager.steps[1].status)
manager.steps = []
file_path_4 = os.path.join(script_dir, 'files/test_empty.json')
compliance_tool.check_deserialization(file_path_4, manager)
file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example.json')
compliance_tool.check_deserialization(file_path_5, manager)
self.assertEqual(2, len(manager.steps))
self.assertEqual(Status.SUCCESS, manager.steps[0].status)
self.assertEqual(Status.SUCCESS, manager.steps[1].status)
......
......@@ -88,8 +88,8 @@ class ComplianceToolXmlTest(unittest.TestCase):
self.assertEqual(Status.SUCCESS, manager.steps[1].status)
manager.steps = []
file_path_4 = os.path.join(script_dir, 'files/test_empty.xml')
compliance_tool.check_deserialization(file_path_4, manager)
file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example.xml')
compliance_tool.check_deserialization(file_path_5, manager)
self.assertEqual(2, len(manager.steps))
self.assertEqual(Status.SUCCESS, manager.steps[0].status)
self.assertEqual(Status.SUCCESS, manager.steps[1].status)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment