Default permissions added on service creation. All tests working.

This commit is contained in:
Nicholas Staples
2016-02-26 17:11:30 +00:00
parent 75b9f77f92
commit 9b73b0d9f8
6 changed files with 79 additions and 17 deletions

View File

@@ -53,7 +53,6 @@ def test_get_permission_filter(notify_api,
headers=[header])
assert response.status_code == 200
json_resp = json.loads(response.get_data(as_text=True))
assert len(json_resp['data']) == 1
expected = {
"permission": another_permission.permission,
"user": sample_user.id,