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 78290d4 commit 2f57877Copy full SHA for 2f57877
tests/test_0_jwkest.py
@@ -55,5 +55,12 @@ def test_b64_encode_decode():
55
assert b64d(b64e(data)) == data
56
57
58
+def test_base64_long_base64():
59
+ x64 = 'omXjOQmHl77TtpwMXL9WPcd-Xcg1bh8CoLGOyX1Ug_CLtZJx_SvSo0bj5bEiVb8eCa5mXuc6sDg9_RRpCvKHHxZG6f9qh5r3ZNY-yr5hKQqeMafWa4b6UqouLSSwKsNe5FWD327BoyaEsMyCRheQg4wX86G_8zqynuvbT6KzQbQtp4iqQvMWGswovmflsk7zoZUESAFu6L5xlJUEFXMlDLPH13SsPKwvL4MgHa-Cx938B0FReUFtq7qEQHIPhGSTOeTS-v8Acp6VqkmcLB4kCIsk_Icr46VTEPv3WWDHcbSzp-RPR0lTa8WTdOd_E98U70jfAZJAKMDWr4sQkvfk7w'
60
+ _l = base64_to_long(x64)
61
+ r64 = long_to_base64(_l)
62
+ assert x64 == r64
63
+
64
65
if __name__ == "__main__":
66
test_long_base64_long()
0 commit comments