コード例 #1
0
 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")
コード例 #2
0
ファイル: test_commands.py プロジェクト: ArtecGroup/sumatra
 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")
コード例 #3
0
 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")
コード例 #4
0
ファイル: test_commands.py プロジェクト: ArtecGroup/sumatra
 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")