From eeef00a5b9bc378bbe65e3c143520a2e77e1258b Mon Sep 17 00:00:00 2001 From: Colton Loftus <70598503+C-Loftus@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:57:34 -0500 Subject: [PATCH] backup --- userCode/lib/utils.py | 2 -- userCode/test/conftest.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/userCode/lib/utils.py b/userCode/lib/utils.py index e2347172..ac861059 100644 --- a/userCode/lib/utils.py +++ b/userCode/lib/utils.py @@ -48,8 +48,6 @@ def run_scheduler_docker_image( client = docker.DockerClient() - validate_docker_image(image_name) - container = client.containers.run( image_name, name=container_name, diff --git a/userCode/test/conftest.py b/userCode/test/conftest.py index 89f91976..2f27661c 100644 --- a/userCode/test/conftest.py +++ b/userCode/test/conftest.py @@ -4,4 +4,6 @@ @pytest.fixture(scope="session", autouse=True) def setup_before_tests(): + # assume we are not inside the compose project if we are testing and thus + # we want to use localhost to connect os.environ["DAGSTER_POSTGRES_HOST"] = "localhost"