Add /services prefix to all service-related URLs

The URLs will be easier to parse if the parts are clearly labelled.

This is a precursor to making a blueprint for all service-related URLs.
This commit is contained in:
Chris Hill-Scott
2016-01-13 13:14:23 +00:00
parent b4a8c2732d
commit de1c0e36c8
13 changed files with 59 additions and 59 deletions

View File

@@ -34,7 +34,7 @@ def test_sign_out_user(notifications_admin,
with notifications_admin.test_client() as client:
client.login(user)
# Check we are logged in
response = client.get('/123/dashboard')
response = client.get('/services/123/dashboard')
assert response.status_code == 200
response = client.get(url_for('main.sign_out'))
assert response.status_code == 302