Skip to content

Commit 15659e2

Browse files
ruff
1 parent d02d4dc commit 15659e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/google/testcontainers/google/datastore.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,3 @@ def get_datastore_client(self, **kwargs) -> datastore.Client:
6666
}
6767
with patch.dict(os.environ, env_vars):
6868
return datastore.Client(**kwargs)
69-

modules/google/tests/test_google.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ def test_datastore_container_isolation():
6868

6969
# Create a second container and try to fetch the entity to makesure its a different container
7070
with DatastoreContainer() as datastore2:
71-
assert datastore.get_datastore_emulator_host() != datastore2.get_datastore_emulator_host(), "Datastore containers use the same port."
71+
assert (
72+
datastore.get_datastore_emulator_host() != datastore2.get_datastore_emulator_host()
73+
), "Datastore containers use the same port."
7274
client2 = datastore2.get_datastore_client()
7375
fetched_entity2 = client2.get(key)
7476
assert fetched_entity2 is None, "Entity was found in the datastore."

0 commit comments

Comments
 (0)