Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Hashids
Class · 0.90
decode
Method · 0.80
Tested by
no test coverage detected