ensure tests have test_ prefix

also remove unused code branch

thanks, coverage!
This commit is contained in:
Leo Hemsted
2018-04-30 13:23:02 +01:00
parent 0efa223fb2
commit e35c1bde77
2 changed files with 2 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ def set_up_get_all_from_hash(mock_redis, side_effect):
{'limit_days': 3.5},
{'limit_days': 'blurk'},
])
def get_template_statistics_for_service_by_day_with_bad_arg_returns_400(admin_request, query_string):
def test_get_template_statistics_for_service_by_day_with_bad_arg_returns_400(admin_request, query_string):
json_resp = admin_request.get(
'template_statistics.get_template_statistics_for_service_by_day',
service_id=uuid.uuid4(),