-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Never truncate exceptions raised by sh in testing The sh module, by default, truncates the output in string representations of exceptions. This change tells sh to stop truncating those strings in testing, and also fixes a few instances of direct calls to the 'sh' module that were not using the pytest.helpers.run_command wrapper. Signed-off-by: Sean Myers <[email protected]> * Comply with rubocop FrozenStringLiteralComment cop This was fixed with `rubocop --auto-correct`, similar to running `yapf --in-place`. I have insufficient ruby experience (and no interest) to agree or disagree with rubocop's opinion. Signed-off-by: Sean Myers <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...tory}}/{{cookiecutter.scenario_name}}/{{cookiecutter.verifier_directory}}/test_default.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
# Molecule managed | ||
|
||
describe file('/etc/hosts') do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters