skip test if python-ldap is not installed
This commit is contained in:
parent
d68ada283b
commit
b1ac679592
@ -23,6 +23,8 @@ from mediagoblin.db.base import Session
|
|||||||
from mediagoblin.tests.tools import get_app
|
from mediagoblin.tests.tools import get_app
|
||||||
from mediagoblin.tools import template
|
from mediagoblin.tools import template
|
||||||
|
|
||||||
|
pytest.importorskip("ldap")
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def ldap_plugin_app(request):
|
def ldap_plugin_app(request):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user