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

Method test_multiple_numbers

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

Source from the content-addressed store, hash-verified

119 assert h.decode('w0rR') == (9999,)
120
121 def test_multiple_numbers(self):
122 h = Hashids()
123 assert h.decode('vJvi7On9cXGtD') == (683, 94108, 123, 5)
124 assert h.decode('o2fXhV') == (1, 2, 3)
125 assert h.decode('xGhmsW') == (2, 4, 6)
126 assert h.decode('3lKfD') == (99, 25)
127
128 def test_salt(self):
129 h = Hashids(salt='Arbitrary string')

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
HashidsClass · 0.90

Tested by

no test coverage detected