MCPcopy Create free account
hub / github.com/CiscoPSIRT/openVulnQuery / test_main_unknown_adv_format

Method test_main_unknown_adv_format

tests/test_main.py:62–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 self.assertEqual(e.exception.code, 2)
61
62 def test_main_unknown_adv_format(self):
63 string_list = '--unknown'.split()
64 with self.assertRaises(SystemExit) as e:
65 main.main(string_list)
66 self.assertEqual(e.exception.code, 2)
67
68 def test_main_filter_forbidden_by_api(self):
69 se = '2017-06-20', '2017-06-21'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected