Skip to content

Commit 266aa27

Browse files
pass keyword arguments through the DbContainer constructor (#58)
Co-authored-by: Till Hoffmann <[email protected]>
1 parent 3b1b58b commit 266aa27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testcontainers/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818

1919
class DbContainer(DockerContainer):
20-
def __init__(self, image):
21-
super(DbContainer, self).__init__(image)
20+
def __init__(self, image, **kwargs):
21+
super(DbContainer, self).__init__(image, **kwargs)
2222

2323
@wait_container_is_ready()
2424
def _connect(self):

0 commit comments

Comments
 (0)