Skip to content

Commit 4ac66b7

Browse files
author
Ishmeet Bindra
committed
Check container is executing or not
1 parent 60e1d3d commit 4ac66b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_dynamodb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ def dynamo():
191191

192192
@pytest.fixture(scope="module")
193193
def simple_table(dynamo):
194+
import os
195+
print(os.popen("docker ps").read())
194196
if not SimpleKeyModel.exists():
195197
SimpleKeyModel.initialize()
196198
assert SimpleKeyModel.exists()
@@ -295,8 +297,6 @@ def nested_query_data_empty_ticket(nested_table):
295297

296298

297299
def test_save_get_delete_simple(dynamo, simple_table):
298-
import os
299-
print(os.popen("docker ps").read())
300300
data = simple_model_data_generator()
301301
a = SimpleKeyModel.parse_obj(data)
302302
a.save()

0 commit comments

Comments
 (0)