Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
2 | import _prep | ||||
3 | |||||
4 | from osmo_gsm_tester.util import hash_obj | ||||
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}, ] })) | ||||
12 |