skip test if python-ldap is not installed

This commit is contained in:
Rodney Ewing 2013-07-10 14:10:48 -07:00
parent d68ada283b
commit b1ac679592

View File

@ -23,6 +23,8 @@ from mediagoblin.db.base import Session
from mediagoblin.tests.tools import get_app
from mediagoblin.tools import template
pytest.importorskip("ldap")
@pytest.fixture()
def ldap_plugin_app(request):