Exemplo n.º 1
0
def test_collection_to_index_falls_back_to_records_hep_if_no_key():
    expected = "records-hep"
    result = _collection_to_index("baz")

    assert expected == result
Exemplo n.º 2
0
def test_collection_to_index_falls_back_to_records_hep_if_no_mapping():
    expected = "records-hep"
    result = _collection_to_index("foo")

    assert expected == result
Exemplo n.º 3
0
def test_collection_to_index_fetches_from_mapping():
    expected = "bar"
    result = _collection_to_index("foo")

    assert expected == result