MCPcopy Index your code
hub / github.com/davidaurelio/hashids-python / test_illegal_hex

Method test_illegal_hex

test/test_hashids.py:96–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 'WxMLpERDrmh25Lp4L3xEfM6WovWYO3IjkRMKR2ogCMVzn4zQlqt1WK8jKq7OsEpy2qyw1Vi2p'
95
96 def test_illegal_hex(self):
97 assert Hashids().encode_hex('') == ''
98 assert Hashids().encode_hex('1234SGT8') == ''
99
100class TestDecoding(object):
101 def test_empty_string(self):

Callers

nothing calls this directly

Calls 2

HashidsClass · 0.90
encode_hexMethod · 0.80

Tested by

no test coverage detected