Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | import _prep |
| 3 | |
Pau Espin Pedrol | e8bbcbf | 2020-04-10 19:51:31 +0200 | [diff] [blame] | 4 | from osmo_gsm_tester.core.util import hash_obj |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 5 | |
| 6 | print('- expect the same hashes on every test run') |
| 7 | print(hash_obj('abc')) |
| 8 | print(hash_obj(1)) |
| 9 | print(hash_obj([1, 2, 3])) |
| 10 | print(hash_obj({ 'k': [ {'a': 1, 'b': 2}, {'a': 3, 'b': 4}, ], |
| 11 | 'i': [ {'c': 1, 'd': 2}, {'c': 3, 'd': 4}, ] })) |