コード例 #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
コード例 #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
コード例 #3
0
def test_collection_to_index_fetches_from_mapping():
    expected = "bar"
    result = _collection_to_index("foo")

    assert expected == result