diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2019-09-18 12:51:40 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-09-18 17:40:41 +0200 |
commit | 741524f59ba8abbd1fb45596097ba60897174b1b (patch) | |
tree | 30ab555b30d34dc60c47d57993cb6dc3a9fd8fba | |
parent | 46d791ae444eeaf2fb904a06868546756ba277a4 (diff) |
#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.
-rw-r--r-- | tests/units/test_0001_get_clients.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |