Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Rewriting integration test fixes #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mkrizek
Copy link

@mkrizek mkrizek commented Sep 10, 2019

No description provided.

rewrite_integration_tests(integration_test_dirs, checkout_path, collection_dir, namespace, collection, spec)
except yaml.composer.ComposerError as e:
logger.error(e)
rewrite_integration_tests(integration_test_dirs, checkout_path, collection_dir, namespace, collection, spec)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the error handling?

@@ -23,9 +22,16 @@
from logzero import logger

from baron.parser import ParsingError
from ruamel.yaml import YAML
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm trying to avoid parsing corner cases by using the same yaml lib as core, I don't care much about retaining formatting but if you really want to i would prefer to do a replace on the source than reconstruct the yaml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants