From a94a7dd311e0663ee1e054cd942bdc8a757591ff Mon Sep 17 00:00:00 2001 From: KoMinkyu Date: Thu, 13 Oct 2016 03:54:36 +0900 Subject: [PATCH] modify method name more clear in test cases. --- test_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_server.py b/test_server.py index d19c028..f06fa5a 100644 --- a/test_server.py +++ b/test_server.py @@ -20,13 +20,13 @@ def post_webhook_from_trusted_remote_addr(client): return client.post('/webhook', environ_base={'REMOTE_ADDR': '111.11.1.1'}) -def post_test_route(client): - return client.post('/teset') +def post_non_webhook_path(client): + return client.post('/test') def test_limit_remote_addr(client): rv = post_webhook_from_trusted_remote_addr(client) assert rv.status_code == 403 - rv = post_test_route(client) + rv = post_non_webhook_path(client) assert rv.status_code != 403 \ No newline at end of file