Skip to content

Commit 0847378

Browse files
committed
tests: Update auth policy tests
1 parent 1d94126 commit 0847378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/macaroons/test_auth_policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
("maybeafuturemethod foobar", None),
3333
("token foobar", "foobar"),
3434
("basic QHRva2VuOmZvb2Jhcg==", "foobar"), # "@token:foobar"
35-
("basic XnRva2VuOmZvb2Jhcg==", "foobar"), # "^token:foobar"
35+
("basic X190b2tlbl9fOmZvb2Jhcg==", "foobar"), # "__token__:foobar"
3636
],
3737
)
3838
def test_extract_http_macaroon(auth, result):
@@ -50,7 +50,7 @@ def test_extract_http_macaroon(auth, result):
5050
("bm90YXJlYWx0b2tlbg==", None), # "notarealtoken"
5151
("QGJhZHVzZXI6Zm9vYmFy", None), # "@baduser:foobar"
5252
("QHRva2VuOmZvb2Jhcg==", "foobar"), # "@token:foobar"
53-
("XnRva2VuOmZvb2Jhcg==", "foobar"), # "^token:foobar"
53+
("X190b2tlbl9fOmZvb2Jhcg==", "foobar"), # "__token__:foobar"
5454
],
5555
)
5656
def test_extract_basic_macaroon(auth, result):

0 commit comments

Comments
 (0)