def test_two_args_interpreted_as_label_and_comment(self): commands.comment(["some_label", "that was appalling"]) self.assertEqual(self.prj.comments["some_label"], "that was appalling")
def test_single_arg_interpreted_as_comment_on_last_record(self): commands.comment(["that was amazing"]) self.assertEqual(self.prj.comments["most_recent"], "that was amazing")