We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d94126 commit 0847378Copy full SHA for 0847378
tests/unit/macaroons/test_auth_policy.py
@@ -32,7 +32,7 @@
32
("maybeafuturemethod foobar", None),
33
("token foobar", "foobar"),
34
("basic QHRva2VuOmZvb2Jhcg==", "foobar"), # "@token:foobar"
35
- ("basic XnRva2VuOmZvb2Jhcg==", "foobar"), # "^token:foobar"
+ ("basic X190b2tlbl9fOmZvb2Jhcg==", "foobar"), # "__token__:foobar"
36
],
37
)
38
def test_extract_http_macaroon(auth, result):
@@ -50,7 +50,7 @@ def test_extract_http_macaroon(auth, result):
50
("bm90YXJlYWx0b2tlbg==", None), # "notarealtoken"
51
("QGJhZHVzZXI6Zm9vYmFy", None), # "@baduser:foobar"
52
("QHRva2VuOmZvb2Jhcg==", "foobar"), # "@token:foobar"
53
- ("XnRva2VuOmZvb2Jhcg==", "foobar"), # "^token:foobar"
+ ("X190b2tlbl9fOmZvb2Jhcg==", "foobar"), # "__token__:foobar"
54
55
56
def test_extract_basic_macaroon(auth, result):
0 commit comments