Lines Matching refs:assertParseFail
137 def assertParseFail(self, cmdline_args, expected_output): member in BaseTest
650 self.assertParseFail(["-a"], "-a option requires 1 argument")
653 self.assertParseFail(["-b", "5x"],
657 self.assertParseFail(["--boo13"], "no such option: --boo13")
660 self.assertParseFail(["--boo=x5"],
726 self.assertParseFail(["--f=bar"],
775 self.assertParseFail(["-test"],
825 self.assertParseFail(["-c", "four", "abc"],
879 self.assertParseFail(["-q3", "-v"], "no such option: -3")
882 self.assertParseFail(["--quiet=3", "-v"],
911 self.assertParseFail(["-p", "1.0", "2x", "3.5"],
916 self.assertParseFail(["--point", "1.0", "3.5"],
935 self.assertParseFail(["-f4,3"],
961 self.assertParseFail(["--version"],
1048 self.assertParseFail(["--file", support.TESTFN, "-afoo"],
1054 self.assertParseFail(["--file", support.TESTFN, "-afoo"],
1283 self.assertParseFail(["-c", "3", "-5", "-a"], "no such option: -5")
1644 self.assertParseFail(["-n008"],
1646 self.assertParseFail(["-l0b0123"],
1648 self.assertParseFail(["-l", "0x12x"],