예제 #1
0
    def test_as_pass_fail_status(self):

        tli = utils.create_test_list_instance(
            unit_test_collection=self.unit_test_list
        )
        rendered = qa_tags.as_pass_fail_status(tli)
        self.assertIsInstance(rendered, basestring)
예제 #2
0
 def test_as_review_status(self):
     tli = utils.create_test_list_instance(unit_test_collection=self.unit_test_list)
     uti = utils.create_unit_test_info(unit=self.unit_test_list.unit, assigned_to=self.unit_test_list.assigned_to)
     ti = utils.create_test_instance(unit_test_info=uti)
     ti.comment = "test"
     ti.test_list_instance = tli
     tli.comment = "comment"
     ti.save()
     qa_tags.as_review_status(tli)
예제 #3
0
 def test_as_review_status(self):
     tli = utils.create_test_list_instance(
         unit_test_collection=self.unit_test_list)
     uti = utils.create_unit_test_info(
         unit=self.unit_test_list.unit,
         assigned_to=self.unit_test_list.assigned_to)
     ti = utils.create_test_instance(unit_test_info=uti)
     ti.comment = "test"
     ti.test_list_instance = tli
     tli.comment = "comment"
     ti.save()
     qa_tags.as_review_status(tli)
예제 #4
0
    def test_as_pass_fail_status(self):

        tli = utils.create_test_list_instance(
            unit_test_collection=self.unit_test_list)
        rendered = qa_tags.as_pass_fail_status(tli)
        self.assertIsInstance(rendered, basestring)