Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed variable name #6696

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions molecule/builder-focal/tests/test_security_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
testinfra_hosts = ["docker://{}-sd-sec-update".format(SECUREDROP_TARGET_DISTRIBUTION)]


def test_should_run():
def should_run():
command = ["git", "describe", "--all"]
version = check_output(command).decode("utf8")[0:-1]
candidates = (
Expand All @@ -24,7 +24,7 @@ def test_should_run():
return False


@pytest.mark.skipif(not test_should_run(), reason="Only tested for RCs and builder updates")
@pytest.mark.skipif(not should_run(), reason="Only tested for RCs and builder updates")
def test_ensure_no_updates_avail(host):
"""
Test to make sure that there are no security-updates in the
Expand Down