MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_non_ascii

Method test_non_ascii

python/python3/tornado/test/web_test.py:2672–2680  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2670 )
2671
2672 def test_non_ascii(self):
2673 value = b"\xe9"
2674 signed = create_signed_value(
2675 SignedValueTest.SECRET, "key", value, clock=self.present
2676 )
2677 decoded = decode_signed_value(
2678 SignedValueTest.SECRET, "key", signed, clock=self.present
2679 )
2680 self.assertEqual(value, decoded)
2681
2682 def test_key_versioning_read_write_default_key(self):
2683 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