Skip to content

Commit 44a8ab4

Browse files
exaby73pratikshazalte69
authored andcommitted
chore: Set up Python virtual environment and install dependencies for testkit
1 parent f6c905a commit 44a8ab4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

testkit-backend/testkit.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export TEST_DRIVER_NAME=php
1010
TEST_DRIVER_REPO=$(realpath ..)
1111
export TEST_DRIVER_REPO
1212

13-
echo "TEST_DRIVER_REPO: $TEST_DRIVER_REPO"
14-
1513
if [ "$1" == "--clean" ]; then
1614
if [ -d testkit ]; then
1715
rm -rf testkit
@@ -28,4 +26,9 @@ else
2826
fi
2927

3028
cd testkit || (echo 'cannot cd into testkit' && exit 1)
31-
exec python3 main.py --tests UNIT_TESTS
29+
python3 -m venv venv
30+
source venv/bin/activate
31+
pip install -r requirements.txt
32+
33+
# exec python3 main.py --tests UNIT_TESTS
34+
exec python3 -m unittest tests.neo4j.test_authentication.TestAuthenticationBasic.test_success_on_basic_token

0 commit comments

Comments
 (0)