Exemplo n.º 1
0
def test_make_hash_from_simple_mapping():
    items = {"key": "value", "another_key": "another_value"}
    hash1 = it.make_hash(items)
    assert hash1 == it.make_hash(items)
Exemplo n.º 2
0
def test_make_hash_from_complex_mapping(queryable):
    hash1 = it.make_hash(queryable)
    assert hash1 == it.make_hash(queryable)
Exemplo n.º 3
0
def test_make_hash_from_list():
    items = ["eat", "more", "creatine", 1, 2, 3]
    hash1 = it.make_hash(items)
    assert hash1 == it.make_hash(items)