Home | History | Annotate | Download | only in test

Lines Matching full:asserterror

21     def assertError(self, *args, **kwargs):
27 self.assertError(getopt.short_has_arg, 'a', 'b')
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
44 self.assertError(getopt.long_has_args, 'abc', ['abcd','abcde'])
67 self.assertError(getopt.do_shorts, [], 'a1', 'a', [])
68 self.assertError(getopt.do_shorts, [], 'a', 'a:', [])
94 self.assertError(getopt.do_longs, [], 'abc=1', ['abc'], [])
95 self.assertError(getopt.do_longs, [], 'abc', ['abc='], [])
112 self.assertError(getopt.getopt, cmdline, 'a:b', ['alpha', 'beta'])