mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
partial testConnect implementation
This commit is contained in:
parent
8a8294047c
commit
a8c61d33e6
@ -7,7 +7,7 @@ from __future__ import unicode_literals
|
|||||||
import pytest
|
import pytest
|
||||||
import sys
|
import sys
|
||||||
from sets import Set
|
from sets import Set
|
||||||
from ldapcherry.backend.ldap import Backend
|
from ldapcherry.backend.backendLdap import Backend
|
||||||
from ldapcherry.exceptions import *
|
from ldapcherry.exceptions import *
|
||||||
import cherrypy
|
import cherrypy
|
||||||
|
|
||||||
@ -33,6 +33,7 @@ class TestError(object):
|
|||||||
|
|
||||||
def testConnect(self):
|
def testConnect(self):
|
||||||
inv = Backend(cfg, cherrypy.log)
|
inv = Backend(cfg, cherrypy.log)
|
||||||
|
inv._connect()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def testConnectSSL(self):
|
def testConnectSSL(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user