tests: add sso/slo tests
This commit is contained in:
parent
1c00c3963c
commit
69eb57b060
|
@ -1 +1,2 @@
|
|||
LANGUAGE_CODE = 'en-us'
|
||||
INSTALLED_APPS = INSTALLED_APPS + ('mellon',)
|
||||
|
|
|
@ -57,6 +57,11 @@ def test_logout(app, admin_user):
|
|||
app.get('/logout/')
|
||||
assert app.get('/manage/', status=302).location == 'http://localhost:80/login/?next=/manage/'
|
||||
|
||||
def test_logout_next(app, admin_user):
|
||||
app = login(app)
|
||||
app.get('/logout/')
|
||||
assert app.get('/manage/', status=302).location == 'http://localhost:80/login/?next=/manage/'
|
||||
|
||||
def test_menu_json(app, admin_user):
|
||||
app = login(app)
|
||||
resp = app.get('/manage/menu.json', status=200)
|
||||
|
|
Loading…
Reference in New Issue