Skip to content

Commit 0bc4241

Browse files
committed
print memgraph IP address
1 parent 26a1b8d commit 0bc4241

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/docs/test_ogm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import os
1516
from typing import Optional
1617
import sys
1718

@@ -26,6 +27,11 @@
2627
allow_module_level=True,
2728
)
2829

30+
print(
31+
f"[test_ogm] Connecting to Memgraph at host={os.getenv('MG_HOST', '127.0.0.1')} "
32+
f"port={os.getenv('MG_PORT', '7687')}",
33+
flush=True,
34+
)
2935
db = Memgraph()
3036

3137

0 commit comments

Comments
 (0)