tests: add basic test for legacy /categories page
This commit is contained in:
parent
27b8916657
commit
8ff7f49892
|
@ -157,6 +157,16 @@ def test_advertized_site_user_access():
|
|||
assert 'authentication required' in output # locales ?
|
||||
|
||||
|
||||
def test_categories_page():
|
||||
FormDef.wipe()
|
||||
create_formdef()
|
||||
resp = get_app(pub).get('/categories')
|
||||
assert 'href="category1/"' in resp
|
||||
FormDef.wipe()
|
||||
resp = get_app(pub).get('/categories')
|
||||
assert 'href="category1/"' not in resp
|
||||
|
||||
|
||||
def test_static_directories():
|
||||
assert get_app(pub).get('/static/css/wcs.css')
|
||||
assert get_app(pub).get('/static/images/feed-icon-10x10.png')
|
||||
|
|
Loading…
Reference in New Issue