Skip to content

Commit

Permalink
Remove debug message about schema validation
Browse files Browse the repository at this point in the history
Removed debug message printed at the end of the validation for
each scenario. This spammed output and it is not really needed because
we already print when we start validation and if it fails.
  • Loading branch information
ssbarnea committed Oct 31, 2020
1 parent 6f94b60 commit a062af2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions lib/molecule/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,6 @@ def _validate(self):
msg = f"Failed to validate {self.molecule_file}\n\n{errors}"
util.sysexit_with_message(msg)

msg = "Validation completed successfully."
LOG.debug(msg)


def molecule_directory(path):
"""Return directory of the current scenario."""
Expand Down
2 changes: 1 addition & 1 deletion lib/molecule/test/unit/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_validate(

config_instance._validate()

assert patched_logger_debug.call_count == 2
assert patched_logger_debug.call_count == 1

m.assert_called_with(config_instance.config)

Expand Down

0 comments on commit a062af2

Please sign in to comment.