MCPcopy
hub / github.com/pyca/cryptography / test_non_iterable_argument

Method test_non_iterable_argument

tests/test_fernet.py:210–212  ·  view source on GitHub ↗
(self, backend)

Source from the content-addressed store, hash-verified

208 MultiFernet([])
209
210 def test_non_iterable_argument(self, backend):
211 with pytest.raises(TypeError):
212 MultiFernet(None) # type: ignore[arg-type]
213
214 def test_rotate_bytes(self, backend):
215 f1 = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend)

Callers

nothing calls this directly

Calls 1

MultiFernetClass · 0.90

Tested by

no test coverage detected