diff --git a/main.py b/main.py index 8e6feb2..47f388f 100644 --- a/main.py +++ b/main.py @@ -36,6 +36,12 @@ class TestHTTP(TestCase): HTTP_URL + '/get?' + device.http_req_data(), )) + def test_post(self) -> None: + self._send_and_check(Request( + HTTP_URL + '/post', + data=device.http_req_data().encode(), + )) + def test_json(self) -> None: raise NotImplemented