Skip to content

Commit 26aa7bd

Browse files
committed
Fix docker compose root directory in tests.
1 parent 0f7abe9 commit 26aa7bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compose/tests/test_docker_compose.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
from unittest.mock import patch
23

34
import pytest
@@ -8,7 +9,7 @@
89
from testcontainers.core.waiting_utils import wait_for_logs
910

1011

11-
ROOT = "tests/test_core"
12+
ROOT = os.path.dirname(__file__)
1213

1314

1415
def test_can_spawn_service_via_compose():

0 commit comments

Comments
 (0)