Fix for skipping of gitlab_runner test.

Correct variable name for skipping of the gitlab test when gitlab python
client is not installed.
This commit is contained in:
Toshio Kuratomi 2019-07-05 11:19:37 -07:00
parent fed90efc4d
commit 0c992d5ae4

View file

@ -30,7 +30,7 @@ except ImportError:
pytestmark.append(pytest.mark.skip("Could not load gitlab module required for testing")) 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 # Need to set these to something so that we don't fail when parsing
GitlabModuleTestCase = object GitlabModuleTestCase = object
resp_find_runners = _dummy resp_find_runners_list = _dummy
resp_get_runner = _dummy resp_get_runner = _dummy
resp_create_runner = _dummy resp_create_runner = _dummy
resp_delete_runner = _dummy resp_delete_runner = _dummy