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)
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)
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)
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)