Skip to content

Commit bcb20f8

Browse files
committed
SERVICE_UNAVAILABLE TRUE
1 parent a8d48f7 commit bcb20f8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

tests/conftest.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@
1616
-p 5432:5432 postgres
1717
"""
1818

19-
try:
20-
subprocess.check_output(
21-
"docker inspect bedbase-test --format '{{.State.Status}}'", shell=True
22-
)
23-
SERVICE_UNAVAILABLE = False
24-
except:
25-
register(
26-
print, f"Some tests require a test database. To initiate it, run:\n{DB_CMD}"
27-
)
28-
SERVICE_UNAVAILABLE = True
19+
# try:
20+
# subprocess.check_output(
21+
# "docker inspect bedbase-test --format '{{.State.Status}}'", shell=True
22+
# )
23+
# SERVICE_UNAVAILABLE = False
24+
# except:
25+
# register(
26+
# print, f"Some tests require a test database. To initiate it, run:\n{DB_CMD}"
27+
# )
28+
# SERVICE_UNAVAILABLE = True
29+
SERVICE_UNAVAILABLE = False
2930

3031

3132
TESTS_DIR = os.path.dirname(os.path.abspath(__file__))

0 commit comments

Comments
 (0)