示例#1
0
 def test_is_report(self, path):
     self.assertFalse(
         bool(codecov.ignored_report("/home/file/" + path)),
         path + " should not be ignored",
     )
     self.assertTrue(bool(codecov.is_report("/home/file/" + path)),
                     path + " should be a report")
示例#2
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report('/home/file/' + path)),
                     path + ' should be ignored')
示例#3
0
 def test_is_report(self, path):
     self.assertFalse(bool(codecov.ignored_report('/home/file/' + path)),
                      path + ' should not be ignored')
     self.assertTrue(bool(codecov.is_report('/home/file/' + path)),
                     path + ' should be a report')
示例#4
0
 def test_ignore_report(self, path):
     self.assertTrue(
         bool(codecov.ignored_report("/home/file/" + path)),
         path + " should be ignored",
     )
示例#5
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report('/home/file/' + path)), path + ' should be ignored')
示例#6
0
 def test_is_report(self, path):
     self.assertFalse(bool(codecov.ignored_report('/home/file/' + path)), path + ' should not be ignored')
     self.assertTrue(bool(codecov.is_report('/home/file/' + path)), path + ' should be a report')
示例#7
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report("/home/file/" + path)), path + " should be ignored")
示例#8
0
 def test_is_report(self, path):
     self.assertFalse(bool(codecov.ignored_report("/home/file/" + path)), path + " should not be ignored")
     self.assertTrue(bool(codecov.is_report("/home/file/" + path)), path + " should be a report")