Skip to content

Commit 9e6508b

Browse files
[test] __init__.py files are added (#7)
Also 1) run_tests3.sh: - [del] definition of PYTHONPATH. - run: flake8 . - run: python -m pytest 2) cleanup
1 parent 0abdccf commit 9e6508b

6 files changed

Lines changed: 4 additions & 5 deletions

File tree

Dockerfile--alpine.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ ENTRYPOINT sh -c " \
5151
set -eux; \
5252
echo HELLO FROM ENTRYPOINT; \
5353
echo HOME DIR IS [`realpath ~/`]; \
54+
echo WORK DIR IS [$(pwd)]; \
5455
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
5556
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
5657
chmod 600 ~/.ssh/authorized_keys; \

run_tests3.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (c) 2017-2025 Postgres Professional
4-
53
set -eux
64

75
# prepare python environment
@@ -13,12 +11,12 @@ source "${VENV_PATH}/bin/activate"
1311
pip install -r tests/requirements.txt
1412

1513
# install testgres' dependencies
16-
export PYTHONPATH=$(pwd)
14+
# export PYTHONPATH=$(pwd)
1715
# $PIP install .
1816

19-
flake8
17+
flake8 .
2018

21-
pytest -l -v -n 4
19+
python -m pytest -l -vvv -n 4
2220

2321
set +eux
2422

tests/__init__.py

Whitespace-only changes.

tests/units/__init__.py

Whitespace-only changes.

tests/units/exceptions/ExecUtilException/__init__.py

Whitespace-only changes.

tests/units/exceptions/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)