Fixing one test post-merge. We got rid of the mongo stuff, so... consistency!
Now we can merge LDAP support! Woohoo! This commit sponsored by the ever-awesome GMG contributor, Sebastian Spaeth. Thanks!
This commit is contained in:
parent
d33a954cad
commit
692e22d10b
@ -102,8 +102,8 @@ def test_ldap_plugin(ldap_plugin_app):
|
|||||||
ldap_plugin_app.get('/auth/logout/')
|
ldap_plugin_app.get('/auth/logout/')
|
||||||
|
|
||||||
# Get user and detach from session
|
# Get user and detach from session
|
||||||
test_user = mg_globals.database.User.find_one({
|
test_user = mg_globals.database.User.query.filter_by(
|
||||||
'username': u'chris'})
|
username=u'chris').first()
|
||||||
Session.expunge(test_user)
|
Session.expunge(test_user)
|
||||||
|
|
||||||
# Log back in
|
# Log back in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user