@@ -0,0 +1,576 @@
+%0Afrom argparse import ArgumentTypeError%0A%0Afrom openrcv.scripts.argparse import parse_log_level%0Afrom openrcv.utiltest.helpers import skipIfTravis, UnitCase%0A%0A%0A# TODO: add a test for good args.%0Aclass ModuleTestCase(UnitCase):%0A%0A    @skipIfTravis()%0A    def test_parse_log_level(self):%0A        self.assertEqual(parse_log_level('INFO'), 20)%0A        self.assertEqual(parse_log_level('DEBUG'), 10)%0A        self.assertEqual(parse_log_level('35'), 35)%0A        self.assertEqual(parse_log_level(35), 35)%0A        with self.assertRaises(ArgumentTypeError):%0A            parse_log_level('FOO')%0A

Add test_argparse.py.