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:17–18 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
assert Hashids().encode() ==
''
16
17
def
test_default_salt(self):
18
assert Hashids().encode(1, 2, 3) ==
'o2fXhV'
19
20
def
test_single_number(self):
21
h = Hashids()
Callers
nothing calls this directly
Calls
2
Hashids
Class · 0.90
encode
Method · 0.80
Tested by
no test coverage detected