Пример #1
0
    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)
Пример #2
0
 def test_list_index(self):
     assert admin.list_indexes(PROJECT)