Working tests and provider stats table.

Fix for tests and import error.

Added tests and updated for code review comments.
This commit is contained in:
Nicholas Staples
2016-04-25 10:38:37 +01:00
parent ff61223d97
commit b56e324a4c
14 changed files with 365 additions and 90 deletions

View File

@@ -132,10 +132,11 @@ def test_should_allow_valid_token_with_post_body(notify_api, sample_api_key):
data = {
'email_from': 'new name',
'name': 'new name',
'users': [service.users[0].id],
'users': [str(service.users[0].id)],
'message_limit': 1000,
'restricted': False,
'active': False}
'active': False,
'created_by': str(service.users[0].id)}
token = create_jwt_token(
request_method="POST",