def test_should_convert_a_file_with_flake8_errors_to_junit_xml(self): _convert(failed_flake8, self.destination) self.assertFileExist(self.destination) self.assertXmlIsValid(self.destination)
def test_should_create_a_file_even_when_there_are_no_errors(self): _convert(valid_flake8, self.destination) self.assertFileExist(self.destination)
def test_should_not_create_a_file_if_there_are_no_errors(self): _convert(valid_flake8, self.destination) self.assertFileDoesNotExist(self.destination)