Skip to content

Commit

Permalink
Strip output to be a more reliable test
Browse files Browse the repository at this point in the history
  • Loading branch information
decentral1se authored and jctanner committed Jul 15, 2019
1 parent 8315d35 commit cef4d6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def test_etc_molecule_ansible_hostname_file(host):

def test_buildarg_env_var(host):
cmd_out = host.run("echo $envarg")
assert cmd_out.stdout == 'this_is_a_test'
assert cmd_out.stdout.strip() == 'this_is_a_test'

0 comments on commit cef4d6d

Please sign in to comment.