Example #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")
Example #2
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report('/home/file/' + path)),
                     path + ' should be ignored')
Example #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')
Example #4
0
 def test_ignore_report(self, path):
     self.assertTrue(
         bool(codecov.ignored_report("/home/file/" + path)),
         path + " should be ignored",
     )
Example #5
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report('/home/file/' + path)), path + ' should be ignored')
Example #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')
Example #7
0
 def test_ignore_report(self, path):
     self.assertTrue(bool(codecov.ignored_report("/home/file/" + path)), path + " should be ignored")
Example #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")