Skip to content

Commit

Permalink
Merge pull request #7246 from freedomofpress/stg-test_app_code_venv
Browse files Browse the repository at this point in the history
Fix regression in staging test_app_code_venv caused by reformatting
  • Loading branch information
cfm authored Oct 11, 2024
2 parents 7c291d0 + 2469328 commit 6f04908
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions molecule/testinfra/app/test_appenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ def test_app_code_venv(host):
"""
Ensure the securedrop-app-code virtualenv is correct.
"""
cmd = f"""test -z $VIRTUAL_ENV && . {sdvars.securedrop_venv}/bin/activate && "
"test "$VIRTUAL_ENV" = "{sdvars.securedrop_venv}" """
cmd = (
f"test -z $VIRTUAL_ENV && . {sdvars.securedrop_venv}/bin/activate && "
+ f'test "$VIRTUAL_ENV" = "{sdvars.securedrop_venv}" '
)

result = host.run(cmd)
assert result.rc == 0
Expand Down

0 comments on commit 6f04908

Please sign in to comment.