def test_r_flag(self): """ verify the -r flag works """ args = ["build", "-r", "checkpoint1", "manifest.xml"] try: dc.parse_args(args) # catch any exception and fail the test except: self.fail(" ".join(args) + " failed to parse correctly")
def test_r_and_p_flags(self): """ verify the -r and -p flags work together """ args = ["build", "-r", "checkpoint1", "-p", "checkpoint2", "manifest.xml"] try: dc.parse_args(args) # catch any exception and fail the test except: self.fail(" ".join(args) + " failed to parse correctly")
def test_r_and_p_flags(self): """ verify the -r and -p flags work together """ args = [ "build", "-r", "checkpoint1", "-p", "checkpoint2", "manifest.xml" ] try: dc.parse_args(args) # catch any exception and fail the test except: self.fail(" ".join(args) + " failed to parse correctly")