def test_get_index(self): indexes = admin.list_indexes(PROJECT) if not indexes: pytest.skip("Skipping datastore test. At least " "one index should present in database.") assert admin.get_index(PROJECT, indexes[0].index_id)
def test_list_index(self): assert admin.list_indexes(PROJECT)