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:
parent
d79e552cc2
commit
254bbd8548
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue