(self)
| 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') |