Exemplo n.º 1
0
async def test_indexed_fields(dummy_guillotina):
    fields = get_index_fields("Item")
    assert "uuid" in fields
    assert "path" in fields
    assert "title" in fields
    assert "creation_date" in fields
    metadata = get_metadata_fields("Example")
    assert len(metadata) == 1
Exemplo n.º 2
0
def test_indexed_fields(dummy_guillotina, loop):
    fields = get_index_fields('Item')
    assert 'uuid' in fields
    assert 'path' in fields
    assert 'title' in fields
    assert 'creation_date' in fields
    metadata = get_metadata_fields('Example')
    assert len(metadata) == 1
Exemplo n.º 3
0
def test_indexed_fields(dummy_guillotina, loop):
    fields = get_index_fields('Item')
    assert 'uuid' in fields
    assert 'path' in fields
    assert 'title' in fields
    assert 'creation_date' in fields
    metadata = get_metadata_fields('Example')
    assert len(metadata) == 1