From e2c8a64b45b5d34d4a4dc9a26d1a84cb21031058 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 5 Jul 2019 11:19:37 -0700 Subject: [PATCH] [stable-2.8] Fix for skipping of gitlab_runner test. Correct variable name for skipping of the gitlab test when gitlab python client is not installed. (cherry picked from commit 0c992d5ae4892653dc645a92bbc8992cc3dea58c) Co-authored-by: Toshio Kuratomi --- test/units/modules/source_control/test_gitlab_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/modules/source_control/test_gitlab_runner.py b/test/units/modules/source_control/test_gitlab_runner.py index f4462791605..ee2e231c649 100644 --- a/test/units/modules/source_control/test_gitlab_runner.py +++ b/test/units/modules/source_control/test_gitlab_runner.py @@ -30,7 +30,7 @@ except ImportError: pytestmark.append(pytest.mark.skip("Could not load gitlab module required for testing")) # Need to set these to something so that we don't fail when parsing GitlabModuleTestCase = object - resp_find_runners = _dummy + resp_find_runners_list = _dummy resp_get_runner = _dummy resp_create_runner = _dummy resp_delete_runner = _dummy