def testYamlWriter(self): """Tests the YamlArtifactsWriter FormatArtifacts method for loss during conversion.""" artifact_reader = reader.YamlArtifactsReader() artifact_writer = writer.YamlArtifactsWriter() test_file = os.path.join('test_data', 'definitions.yaml') self.checkArtifactConversion(artifact_reader, artifact_writer, test_file)
def testYamlWriter(self): """Tests conversion with the YamlArtifactsWriter.""" artifact_reader = reader.YamlArtifactsReader() artifact_writer = writer.YamlArtifactsWriter() self._TestArtifactsConversion(artifact_reader, artifact_writer, 'definitions.yaml')