summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-09-18 12:51:40 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-09-18 17:40:41 +0200
commitf4e69d51ff78f9e3db8c2781ef3aca4f8adb59f6 (patch)
tree7d67679ba241e2e28a6adbc9b1fe17321f91a4ad
parent3283bc76f58c95fb9251c535b64d6d17147669d4 (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--admin/Sources/Services/ogAdmServer/tests/units/test_0001_get_clients.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/tests/units/test_0001_get_clients.py b/admin/Sources/Services/ogAdmServer/tests/units/test_0001_get_clients.py
index 55712250..8d52bb8c 100644
--- a/admin/Sources/Services/ogAdmServer/tests/units/test_0001_get_clients.py
+++ b/admin/Sources/Services/ogAdmServer/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)