This repository has been archived by the owner on Mar 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 393
Enable validate-config tests and add a new test #883
Open
pilou-
wants to merge
7
commits into
ansible:develop
Choose a base branch
from
pilou-:enable_validate_config_tests
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jun 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9e48512 - Browse repository at this point
Copy the full SHA 9e48512View commit details -
Fix TypeError exception (Python 3 compatibility)
Error message: ______ TestAnsibleContainerConfig.test_should_also_replace_pwd_in_volumes ______ self = <validate_config.TestAnsibleContainerConfig testMethod=test_should_also_replace_pwd_in_volumes> def test_should_also_replace_pwd_in_volumes(self): # test that ${PWD} gets resolved self.config.cli_vars_files = self.vars_files self.config.set_env('prod') container.ENV = 'conductor' container.utils.DataLoader = DataLoader container.utils.VariableManager = VariableManager container.utils.RoleInclude = RoleInclude > conductor_config = AnsibleContainerConductorConfig(self.config._config) ansible-container/test/tests/validate_config.py:145: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansible-container/container/__init__.py:19: in __wrapped__ return fn(*args, **kwargs) ansible-container/container/config.py:357: in __init__ self._process_defaults() ansible-container/container/config.py:390: in _process_defaults callback=lambda processed: self._templar.set_available_variables( ansible-container/container/config.py:375: in _process_section yaml.round_trip_dump(value, buffer) [...] venv/3.6/lib/python3.6/site-packages/ruamel/yaml/emitter.py:422: in expect_flow_sequence self.write_indicator(u' ' * ind + u'[', True, whitespace=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ruamel.yaml.dumper.RoundTripDumper object at 0x7fbda6e59e48> indicator = '[', need_whitespace = True, whitespace = True, indention = False def write_indicator(self, indicator, need_whitespace, whitespace=False, indention=False): # type: (Any, Any, bool, bool) -> None if self.whitespace or not need_whitespace: data = indicator else: data = u' ' + indicator self.whitespace = whitespace self.indention = self.indention and indention self.column += len(data) self.open_ended = False if bool(self.encoding): data = data.encode(self.encoding) > self.stream.write(data) E TypeError: a bytes-like object is required, not 'str' venv/3.6/lib/python3.6/site-packages/ruamel/yaml/emitter.py:1059: TypeError
Configuration menu - View commit details
-
Copy full SHA for bc16f8d - Browse repository at this point
Copy the full SHA bc16f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11ddabf - Browse repository at this point
Copy the full SHA 11ddabfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0369d7 - Browse repository at this point
Copy the full SHA c0369d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c1b52c - Browse repository at this point
Copy the full SHA 9c1b52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1c048 - Browse repository at this point
Copy the full SHA bd1c048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aba711 - Browse repository at this point
Copy the full SHA 3aba711View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.