Skip to content

Commit 68b9417

Browse files
committed
Update tests
1 parent bea85a2 commit 68b9417

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎src/vcr_cleaner/cleaners/jwt_token.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import datetime
2-
import gzip
32
import jwt
43

54

‎tests/test_jwt_token.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import datetime
2-
import gzip
32
import jwt
43

54
from typing import Any
@@ -18,9 +17,7 @@ def token_interaction(token: dict[str, Any]) -> JWTTokenInteraction:
1817
'Content-Encoding': ['gzip'],
1918
},
2019
'body': {
21-
'string': gzip.compress(
22-
bytes(jwt.encode(token, CLEANER_SALT, algorithm='HS256'),
23-
"ascii"))
20+
'string': jwt.encode(token, CLEANER_SALT, algorithm='HS256')
2421
}
2522
}
2623
}

0 commit comments

Comments
 (0)