better test name

This commit is contained in:
dandds 2018-08-06 12:59:01 -04:00
parent e2e0868a83
commit 7ea3f682e0

View File

@ -35,7 +35,7 @@ def test_unsuccessful_login_redirect(client, monkeypatch):
UNPROTECTED_ROUTES = ["/", "/login-dev", "/login-redirect", "/unauthorized"]
# checks that all of the routes in the app are protected by auth
def test_protected_route(client, app):
def test_routes_are_protected(client, app):
for rule in app.url_map.iter_rules():
args = [1] * len(rule.arguments)
mock_args = dict(zip(rule.arguments, args))