Exemple #1
0
 def test_test_result__pass(self):
     test_run = TestRun(
         analyzer_assigned_uuid="00000000-0000-0000-0000-000000000004")
     test_result = TestResult(test_run=test_run, relative_index=1)
     self.assertIn("00000000-0000-0000-0000-000000000004/1",
                   unicode(test_result))
Exemple #2
0
 def test_microseconds_to_duration(self):
     obj = TestResult()
     obj.microseconds = self.microseconds
     self.assertEqual(self.duration, obj.duration)
Exemple #3
0
 def test_microseconds_to_duration(self):
     obj = TestResult()
     obj.microseconds = self.microseconds
     self.assertEqual(self.duration, obj.duration)
Exemple #4
0
 def test_duration_to_microseconds(self):
     obj = TestResult()
     obj.duration = self.duration
     self.assertEqual(self.microseconds, obj.microseconds)
Exemple #5
0
 def test_duration_to_microseconds(self):
     obj = TestResult()
     obj.duration = self.duration
     self.assertEqual(self.microseconds, obj.microseconds)