Fixed the documentation on the pytest example.
This commit is contained in:
1 parent
a1c48beb32
commit
c6b8569543
3 files changed
+6
-6
No files matched your search
@@ -71,9 +71,9 @@ class Client(WerkzeugClient):
|
||||
|
||||
def test_admin(app: Flask, client: Client):
|
||||
with app.app_context():
|
||||
response = self.client.get("/admin")
|
||||
response = client.get("/admin")
|
||||
assert response.status_code == 401
|
||||
response = self.client.get(
|
||||
response = client.get(
|
||||
"/admin", digest_auth=("my_name", "my_pass"))
|
||||
assert response.status_code == 200
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user