blob: e07b2d4e988ce6f7334b687c681610b191d12f1e [file] [log] [blame]
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001#!/usr/bin/env python3
2import _prep
3
Pau Espin Pedrole8bbcbf2020-04-10 19:51:31 +02004from osmo_gsm_tester.core.util import hash_obj
Neels Hofmeyr3531a192017-03-28 14:30:28 +02005
6print('- expect the same hashes on every test run')
7print(hash_obj('abc'))
8print(hash_obj(1))
9print(hash_obj([1, 2, 3]))
10print(hash_obj({ 'k': [ {'a': 1, 'b': 2}, {'a': 3, 'b': 4}, ],
11 'i': [ {'c': 1, 'd': 2}, {'c': 3, 'd': 4}, ] }))