MCPcopy Create free account
hub / github.com/davidaurelio/hashids-python / test_default_salt

Method test_default_salt

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

Source from the content-addressed store, hash-verified

105 assert Hashids().decode(object()) == ()
106
107 def test_default_salt(self):
108 assert Hashids().decode('o2fXhV') == (1, 2, 3)
109
110 def test_empty_call(self):
111 assert Hashids().decode('') == ()

Callers

nothing calls this directly

Calls 2

HashidsClass · 0.90
decodeMethod · 0.80

Tested by

no test coverage detected