def test_add_comment_with_string(self): comment = testcaserun.add_comment(self.admin_request, "{0},{1}".format(self.case_run_1.pk, self.case_run_2.pk), "Hello World!") self.assertIsNone(comment) comment = testcaserun.add_comment(self.admin_request, str(self.case_run_1.pk), "Hello World!") self.assertIsNone(comment)
def test_add_comment_with_string(self): comment = testcaserun.add_comment(self.admin_request, f"{self.case_run_1.pk},{self.case_run_2.pk}", "Hello World!") self.assertIsNone(comment) comment = testcaserun.add_comment(self.admin_request, str(self.case_run_1.pk), "Hello World!") self.assertIsNone(comment)
def test_add_comment_with_string(self): comment = testcaserun.add_comment( self.admin_request, "{0},{1}".format(self.case_run_1.pk, self.case_run_2.pk), "Hello World!") self.assertIsNone(comment) comment = testcaserun.add_comment(self.admin_request, str(self.case_run_1.pk), "Hello World!") self.assertIsNone(comment)
def test_add_comment_with_int(self): comment = testcaserun.add_comment(self.admin_request, self.case_run_2.pk, "Hello World!") self.assertIsNone(comment)
def test_add_comment_with_int(self): comment = testcaserun.add_comment(self.admin_request, self.case_run_2.pk, "Hello World!") self.assertIsNone(comment)