Skip to content

Commit d291f05

Browse files
author
Aviv Laufer
committed
Update PYTHONPATH
1 parent 4a304a3 commit d291f05

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

run_demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# It starts the protoconf agent, which is responsible for managing the configuration.
44
# Then it starts the demo application, which uses the protoconf agent to dynamically update its configuration.
55
# Finally, it stops the protoconf agent after the demo application has finished running.
6-
6+
export PYTHONPATH=$PYTHONPATH:$(pwd)/tests
77
pkill -9 protoconf >/dev/null 2>&1
88
protoconf agent -dev tests/test_data/. &
99
python demo_app/demo_app.py

run_tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
# This script is designed to run tests for the protoconfloader project.
33
# It starts the protoconf agent in development mode, runs pytest with coverage,
44
# and then stops the protoconf agent.
5-
5+
export PYTHONPATH=$PYTHONPATH:$(pwd)
66
pkill -9 protoconf >/dev/null 2>&1
77
protoconf agent -dev tests/test_data/. &
8-
pytest --cov=protoconfloader tests/
8+
#pytest --cov=protoconfloader tests/
9+
python -m pytest -s
910
pkill -9 protoconf >/dev/null 2>&1
1011

0 commit comments

Comments
 (0)