Skip to content

Commit 3c28cdd

Browse files
committed
Remove erroneous with_command statement.
1 parent cf6c585 commit 3c28cdd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mongodb/testcontainers/mongodb/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def __init__(self, image: str = "mongo:latest", port: int = 27017,
5858
self.dbname = dbname or os.environ.get("MONGO_DB", "test")
5959
self.port = port
6060
self.with_exposed_ports(self.port)
61-
self.with_command("mongo")
6261

6362
def _configure(self) -> None:
6463
self.with_env("MONGO_INITDB_ROOT_USERNAME", self.username)

0 commit comments

Comments
 (0)