예제 #1
0
 def setUpTestData(cls):
     cls.case_run_1 = TestCaseRunFactory()
     cls.case_run_2 = TestCaseRunFactory()
     testcaserun.attach_log(None, cls.case_run_1.pk, "Test logs", "http://www.google.com")
예제 #2
0
 def setUp(self):
     testcaserun.attach_log(None, self.case_run.pk, 'Related issue', 'https://localhost/issue/1')
     self.link = self.case_run.links.all()[0]
예제 #3
0
 def test_attach_log(self):
     url = "http://127.0.0.1/test/test-log.log"
     log = testcaserun.attach_log(None, self.case_run.pk, "UT test logs", url)
     self.assertIsNone(log)
예제 #4
0
 def setUpTestData(cls):
     cls.case_run_1 = f.TestCaseRunFactory()
     cls.case_run_2 = f.TestCaseRunFactory()
     testcaserun.attach_log(None, cls.case_run_1.pk, "Test logs", "http://www.google.com")
예제 #5
0
 def setUp(self):
     testcaserun.attach_log(None, self.case_run.pk, 'Related issue', 'https://localhost/issue/1')
     self.link = self.case_run.links.all()[0]
예제 #6
0
 def test_attach_log(self):
     url = "http://127.0.0.1/test/test-log.log"
     log = testcaserun.attach_log(None, self.case_run.pk, "UT test logs", url)
     self.assertIsNone(log)