def test_hashid_can_decode_dictionary(self):
     assert (hashid(
         {
             "id": "l9avmeG",
             "name": "Joe",
         },
         decode=True,
     ) == {
         "id": 10,
         "name": "Joe"
     })
 def test_hashid_hashes_several_integers(self):
     assert hashid(10, 20, 30) == "dB1I1uo"
 def test_hashid_hashes_integer(self):
     assert hashid(10) == "l9avmeG"
 def test_hashid_decodes_non_encoded_value_is_falsey(self):
     assert not hashid("B8I6ub", decode=True)
 def test_hashid_decodes_several_integers(self):
     assert hashid("B1I1uo", decode=True) == (10, 20, 30)