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

Method test_non_string

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

Source from the content-addressed store, hash-verified

102 assert Hashids().decode('') == ()
103
104 def test_non_string(self):
105 assert Hashids().decode(object()) == ()
106
107 def test_default_salt(self):
108 assert Hashids().decode('o2fXhV') == (1, 2, 3)

Callers

nothing calls this directly

Calls 2

HashidsClass · 0.90
decodeMethod · 0.80

Tested by

no test coverage detected