diff --git a/tests/datastore_firestore/test_async_client.py b/tests/datastore_firestore/test_async_client.py index 6496e6a357..c8e7b1dccf 100644 --- a/tests/datastore_firestore/test_async_client.py +++ b/tests/datastore_firestore/test_async_client.py @@ -21,8 +21,7 @@ @pytest.fixture() -def existing_document(collection, reset_firestore): - # reset_firestore must be run before, not after this fixture +def existing_document(collection): doc = collection.document("document") doc.set({"x": 1}) return doc diff --git a/tests/datastore_firestore/test_async_query.py b/tests/datastore_firestore/test_async_query.py index 02efa87c69..3319e73a53 100644 --- a/tests/datastore_firestore/test_async_query.py +++ b/tests/datastore_firestore/test_async_query.py @@ -22,8 +22,7 @@ @pytest.fixture(autouse=True) -def sample_data(collection, reset_firestore): - # reset_firestore must be run before, not after this fixture +def sample_data(collection): for x in range(1, 6): collection.add({"x": x}) diff --git a/tests/datastore_firestore/test_async_transaction.py b/tests/datastore_firestore/test_async_transaction.py index 4916669b89..fd9130a0ee 100644 --- a/tests/datastore_firestore/test_async_transaction.py +++ b/tests/datastore_firestore/test_async_transaction.py @@ -21,8 +21,7 @@ @pytest.fixture(autouse=True) -def sample_data(collection, reset_firestore): - # reset_firestore must be run before, not after this fixture +def sample_data(collection): for x in range(1, 4): collection.add({"x": x}, "doc%d" % x)