def testIfNoFileInLocationGiven(self): self.args.file = "nofile.txt" this_board, error, using_file = parse_arguments(self.args) assert error == "No board entered. Please enter one."
def testIfNewAndNoFile(self): self.args.new = True self.args.file = None this_board, error, using_file = parse_arguments(self.args) assert error == "No board entered. Please enter one."