From ce7197d90f2fe811a163fab2b8ef89b509d68047 Mon Sep 17 00:00:00 2001 From: wallbloggerbeing <57633748+wallbloggerbeing@users.noreply.github.com> Date: Thu, 1 Dec 2022 16:23:11 +0100 Subject: [PATCH] Changed variable name --- molecule/builder-focal/tests/test_security_updates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/builder-focal/tests/test_security_updates.py b/molecule/builder-focal/tests/test_security_updates.py index 87a93cc3b7..a38095cf7a 100644 --- a/molecule/builder-focal/tests/test_security_updates.py +++ b/molecule/builder-focal/tests/test_security_updates.py @@ -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 = ( @@ -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