mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
remove useless tests
This commit is contained in:
parent
c5dae7039a
commit
4bd6314b3b
3 changed files with 0 additions and 31 deletions
|
@ -69,16 +69,6 @@ class TestError(object):
|
|||
res = inv.auth('notauser', 'password') or inv.auth('default_user', 'notapassword')
|
||||
assert res == False
|
||||
|
||||
def testMissingParam(self):
|
||||
cfg2 = {}
|
||||
return True
|
||||
try:
|
||||
inv = Backend(cfg2, cherrypy.log, 'test', attr, 'uid')
|
||||
except MissingKey:
|
||||
return
|
||||
else:
|
||||
raise AssertionError("expected an exception")
|
||||
|
||||
def testGetUser(self):
|
||||
inv = Backend(cfg, cherrypy.log, 'test', attr, 'uid')
|
||||
inv.add_user(default_user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue