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

@@ -9,7 +9,7 @@ def test_should_show_recent_jobs_on_dashboard(notifications_admin,
with notifications_admin.test_client() as client:
user = create_test_user('active')
client.login(user)
response = client.get('/123/dashboard')
response = client.get('/services/123/dashboard')
assert response.status_code == 200
assert 'Test message 1' in response.get_data(as_text=True)