Commit 264847a7 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Test ArgumentParseManager.parse

parent b57eaeb0
......@@ -476,7 +476,11 @@ class ArgumentParseManager(TestCase):
UP.assert_called_once_with()
def test_parse(self):
raise errors.CLIUnimplemented()
apm = argument.ArgumentParseManager('exe')
parsed, unparsed = apm.parser.parse_known_args()
apm.parse()
self.assertEqual(apm._parsed, parsed)
self.assertEqual(apm.unparsed, unparsed)
if __name__ == '__main__':
......
Markdown is supported
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