(self, payload)
| 122 | jws.verify(token, "another", ALGORITHMS.HS256) |
| 123 | |
| 124 | def test_unsupported_alg(self, payload): |
| 125 | with pytest.raises(JWSError): |
| 126 | jws.sign(payload, "secret", algorithm="SOMETHING") |
| 127 | |
| 128 | def test_add_headers(self, payload): |
| 129 | additional_headers = {"test": "header"} |