async def test_async_old_data_gone(self, async_vector_store):
        """Makes sure that no data stays in the database in between tests (otherwise more than one node would be found in the assertion)."""
        nodes = [
            TextNode(text="Hello world.", embedding=[0.0, 0.0, 0.3]),
        ]

        await async_vector_store.async_add(nodes)

        query = VectorStoreQuery(
            query_embedding=[0.3, 0.0, 0.0],
            similarity_top_k=2,
            query_str="test",
            mode=VectorStoreQueryMode.DEFAULT,
        )

        results = await async_vector_store.aquery(query)

        assert len(results.nodes) == 1
Makes sure that no data stays in the database in between tests (otherwise more than one node would be found in the assertion).
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/test_vector_stores_weaviate.py