mirror of https://git.48k.eu/ogserver
#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.master
parent
46d791ae44
commit
741524f59b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue