Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
majensen committed Oct 12, 2024
1 parent 4f197e4 commit 20a060d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
36 changes: 18 additions & 18 deletions python/tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions python/tests/test_010mdb_versioned.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20a060d

Please sign in to comment.