diff --git a/python/tests/docker-compose.yml b/python/tests/docker-compose.yml index 4fc08e7..15c2766 100644 --- a/python/tests/docker-compose.yml +++ b/python/tests/docker-compose.yml @@ -6,21 +6,21 @@ services: - "7474" - "7473" - "7687" - # bento-neo4j: - # image: 'maj1/test-db-bento-meta' - # ports: - # - "7474" - # - "7473" - # - "7687" - # plain-neo4j: - # image: 'maj1/test-plain-db-bento-meta' - # ports: - # - "7474" - # - "7473" - # - "7687" - # mdb: - # image: 'maj1/mdb:3.5' - # ports: - # - "7474" - # - "7473" - # - "7687" + bento-neo4j: + image: 'maj1/test-db-bento-meta' + ports: + - "7474" + - "7473" + - "7687" + plain-neo4j: + image: 'maj1/test-plain-db-bento-meta' + ports: + - "7474" + - "7473" + - "7687" + mdb: + image: 'maj1/mdb:3.5' + ports: + - "7474" + - "7473" + - "7687" diff --git a/python/tests/test_010mdb_versioned.py b/python/tests/test_010mdb_versioned.py index 0a4354b..ef46123 100644 --- a/python/tests/test_010mdb_versioned.py +++ b/python/tests/test_010mdb_versioned.py @@ -3,11 +3,14 @@ sys.path.insert(0, "..") import pytest import pytest_docker +import subprocess from pdb import set_trace from bento_meta.mdb import MDB @pytest.mark.docker def test_mdb(mdb_versioned): + cp = subprocess.run(["docker","logs","mdb-versioned"], capture_output=True) + print(cp.stdout) (b, h) = mdb_versioned mdb = MDB(uri=b, user="neo4j", password="neo4j1") assert mdb