Lines Matching refs:assertParseFail
139 def assertParseFail(self, cmdline_args, expected_output): member in BaseTest
645 self.assertParseFail(["-a"], "-a option requires an argument")
648 self.assertParseFail(["-b", "5x"],
652 self.assertParseFail(["--boo13"], "no such option: --boo13")
655 self.assertParseFail(["--boo=x5"],
721 self.assertParseFail(["--f=bar"],
770 self.assertParseFail(["-test"],
827 self.assertParseFail(["-c", "four", "abc"],
881 self.assertParseFail(["-q3", "-v"], "no such option: -3")
884 self.assertParseFail(["--quiet=3", "-v"],
913 self.assertParseFail(["-p", "1.0", "2x", "3.5"],
918 self.assertParseFail(["--point", "1.0", "3.5"],
937 self.assertParseFail(["-f4,3"],
963 self.assertParseFail(["--version"],
1050 self.assertParseFail(["--file", test_support.TESTFN, "-afoo"],
1056 self.assertParseFail(["--file", test_support.TESTFN, "-afoo"],
1285 self.assertParseFail(["-c", "3", "-5", "-a"], "no such option: -5")
1650 self.assertParseFail(["-n008"],
1652 self.assertParseFail(["-l0b0123"],
1654 self.assertParseFail(["-l", "0x12x"],