(self)
| 111 | assert Hashids().decode('') == () |
| 112 | |
| 113 | def test_single_number(self): |
| 114 | h = Hashids() |
| 115 | assert h.decode('j0gW') == (12345,) |
| 116 | assert h.decode('jR') == (1,) |
| 117 | assert h.decode('Lw') == (22,) |
| 118 | assert h.decode('Z0E') == (333,) |
| 119 | assert h.decode('w0rR') == (9999,) |
| 120 | |
| 121 | def test_multiple_numbers(self): |
| 122 | h = Hashids() |