Skip to content

Commit

Permalink
Add sys path
Browse files Browse the repository at this point in the history
  • Loading branch information
markgacoka committed Jun 10, 2024
1 parent 24c0c16 commit c52dc4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Codepropertygraphs Test
name: CPG Test

on: [push, pull_request]

Expand Down
4 changes: 3 additions & 1 deletion codepropertygraph/tests/test_connection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os
import os, sys
from dotenv import load_dotenv
from unittest.mock import patch, MagicMock
from neo4j.exceptions import ServiceUnavailable

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from codepropertygraph.engine import get_neo4j_connection

# Load environment variables from .env file
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
backports.tarfile==1.2.0
certifi==2024.6.2
charset-normalizer==3.3.2
-e git+ssh://[email protected]/markgacoka/codepropertygraph.git@37f93ed17a6baaa7b484849afba86b63c7874982#egg=codepropertygraph&subdirectory=codepropertygraph
docutils==0.21.2
exceptiongroup==1.2.1
idna==3.7
Expand Down

0 comments on commit c52dc4b

Please sign in to comment.