예제 #1
0
    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)
예제 #2
0
    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)
예제 #3
0
    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)
예제 #4
0
 def test_add_comment_with_int(self):
     comment = testcaserun.add_comment(self.admin_request, self.case_run_2.pk, "Hello World!")
     self.assertIsNone(comment)
예제 #5
0
 def test_add_comment_with_int(self):
     comment = testcaserun.add_comment(self.admin_request, self.case_run_2.pk, "Hello World!")
     self.assertIsNone(comment)