From 23215c839f0b00c288b6556ce405b0e54f4f50ae Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 17 Sep 2019 21:15:15 +0300 Subject: Tests: head() method introduced. --- test/unit/http.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/unit') diff --git a/test/unit/http.py b/test/unit/http.py index c0af8a9e..01611221 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -118,6 +118,9 @@ class TestHTTP(TestUnit): def get(self, **kwargs): return self.http('GET', **kwargs) + def head(self, **kwargs): + return self.http('HEAD', **kwargs) + def post(self, **kwargs): return self.http('POST', **kwargs) -- cgit