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

Method test_empty_call

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

Source from the content-addressed store, hash-verified

12
13class TestEncoding(object):
14 def test_empty_call(self):
15 assert Hashids().encode() == ''
16
17 def test_default_salt(self):
18 assert Hashids().encode(1, 2, 3) == 'o2fXhV'

Callers

nothing calls this directly

Calls 2

HashidsClass · 0.90
encodeMethod · 0.80

Tested by

no test coverage detected