From d7d7fdcf6bd7fb8a60d040388910745b550382da Mon Sep 17 00:00:00 2001 From: dandds Date: Mon, 6 Aug 2018 12:59:01 -0400 Subject: [PATCH] better test name --- tests/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_auth.py b/tests/test_auth.py index bb0ebb4a..6631b567 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -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))