From 741524f59ba8abbd1fb45596097ba60897174b1b Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 18 Sep 2019 12:51:40 +0200 Subject: #915: more descriptive function name in test This test sends a POST with no body, which is illegal, use a function name that describes this. --- tests/units/test_0001_get_clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/units/test_0001_get_clients.py b/tests/units/test_0001_get_clients.py index 5571225..8d52bb8 100644 --- a/tests/units/test_0001_get_clients.py +++ b/tests/units/test_0001_get_clients.py @@ -11,7 +11,7 @@ class TestGetClientsMethods(unittest.TestCase): returned = requests.get(self.url, headers=self.headers) self.assertEqual(returned.status_code, 200) - def test_post(self): + def test_post_without_data(self): returned = requests.post(self.url, headers=self.headers) self.assertEqual(returned.status_code, 404) -- cgit v1.2.3-18-g5258