1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Try to skip if import fails.

This commit is contained in:
Felix Fontein 2021-08-29 00:29:11 +02:00
parent d79e552cc2
commit 254bbd8548

View file

@ -8,12 +8,14 @@ __metaclass__ = type
import sys
import pytest
from httmock import response # noqa
from httmock import urlmatch # noqa
from ansible_collections.community.general.tests.unit.compat import unittest
import gitlab
gitlab = pytest.importorskip('gitlab')
class FakeAnsibleModule(object):