MCPcopy
hub / github.com/tornadoweb/tornado / test_non_ascii

Method test_non_ascii

tornado/test/web_test.py:2836–2844  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2834 )
2835
2836 def test_non_ascii(self):
2837 value = b"\xe9"
2838 signed = create_signed_value(
2839 SignedValueTest.SECRET, "key", value, clock=self.present
2840 )
2841 decoded = decode_signed_value(
2842 SignedValueTest.SECRET, "key", signed, clock=self.present
2843 )
2844 self.assertEqual(value, decoded)
2845
2846 def test_key_versioning_read_write_default_key(self):
2847 value = b"\xe9"

Callers

nothing calls this directly

Calls 2

create_signed_valueFunction · 0.90
decode_signed_valueFunction · 0.90

Tested by

no test coverage detected