From bcb20f8694bc16321f9b2c5d240a7537bbd31525 Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Wed, 11 Dec 2024 16:05:36 -0500 Subject: [PATCH] SERVICE_UNAVAILABLE TRUE --- tests/conftest.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 2a74b35..773aaa6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -16,16 +16,17 @@ -p 5432:5432 postgres """ -try: - subprocess.check_output( - "docker inspect bedbase-test --format '{{.State.Status}}'", shell=True - ) - SERVICE_UNAVAILABLE = False -except: - register( - print, f"Some tests require a test database. To initiate it, run:\n{DB_CMD}" - ) - SERVICE_UNAVAILABLE = True +# try: +# subprocess.check_output( +# "docker inspect bedbase-test --format '{{.State.Status}}'", shell=True +# ) +# SERVICE_UNAVAILABLE = False +# except: +# register( +# print, f"Some tests require a test database. To initiate it, run:\n{DB_CMD}" +# ) +# SERVICE_UNAVAILABLE = True +SERVICE_UNAVAILABLE = False TESTS_DIR = os.path.dirname(os.path.abspath(__file__))