Skip to content

Commit 76bc312

Browse files
committed
another test
1 parent 7152626 commit 76bc312

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_auth_decorator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,3 +998,9 @@ class R(flask.Request):
998998

999999
assert_raises(RuntimeError,
10001000
client.get, "/decorated", follow_redirects=True)
1001+
1002+
# Check that the v1 branch doesn't break anything.
1003+
# I'm tempted to say that a ver=1 successful response should be rejected, but
1004+
# I'm not sure.
1005+
def test_auth_v1(self):
1006+
self.check_auth(TestRig(), ver=1)

0 commit comments

Comments
 (0)