mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 06:46:16 +00:00
Add basic do-almost-nothing Brotli endpoint test
This commit is contained in:
@@ -236,6 +236,10 @@ class HttpbinTestCase(unittest.TestCase):
|
||||
response = self.app.get('/gzip')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
def test_brotli(self):
|
||||
response = self.app.get('/brotli')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
def test_digest_auth_with_wrong_password(self):
|
||||
auth_header = 'Digest username="user",realm="wrong",nonce="wrong",uri="/digest-auth/user/passwd/MD5",response="wrong",opaque="wrong"'
|
||||
response = self.app.get(
|
||||
|
||||
Reference in New Issue
Block a user