0001-root-implement-automatic-tryauth-12867.patch
tests/test_saml_auth.py | ||
---|---|---|
454 | 454 |
with open(os.path.join(pub.app_dir, 'site-options.cfg'), 'w') as fd: |
455 | 455 |
pub.site_options.write(fd) |
456 | 456 | |
457 |
resp = app.get('/') |
|
457 |
resp = app.get('/?parameter=value')
|
|
458 | 458 |
assert resp.status_int == 302 |
459 |
assert resp.location.startswith('http://example.net/login/?ReturnUrl=http%3A//example.net/') |
|
459 |
assert resp.location.startswith('http://example.net/login/?ReturnUrl=http%3A//example.net/%3Fparameter%3Dvalue')
|
|
460 | 460 |
assert 'PASSIVE_TRIED_COOKIE' in app.cookies |
461 | 461 | |
462 | 462 | |
463 |
- |