Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/linting/INIT.sh → LabGym/tests/INIT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IS_VENV () { [ -n "$VIRTUAL_ENV+1" ]; } # works in sh, bash, and zsh

AWK () { awk "$@"; }

PYFILES=$(cd ../../LabGym && echo *.py)
PYFILES=$(cd .. && echo *.py)
# printf "%s: %s\n" "\$PYFILES" "$PYFILES"

return
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/linting/pylint.sh → LabGym/tests/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

source INIT.sh

PYFILES=$(echo ../../LabGym/*.py ../../LabGym/mywx/*.py)
PYFILES=$(echo ../*.py ../mywx/*.py)

OP=pylint # default OP
while [ $# -gt 0 ]; do
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions pytest.ini → LabGym/tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# pytest.ini
[pytest]
testpaths = tests

markers =
slow: marks tests as slow
integration: markts integration tests
gui: marks tests requiring wx

# Avoid two coverage warnings from detectron2's import of cv2.
# (see Notes.opencv-python-and-coverage-warnings.txt)
filterwarnings =
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def tests(session:nox.Session):

# package and test dependencies
session.install("-e", ".")
session.install("pytest", "coverage")
session.install("pytest")


session.run("pytest", "-q")
Expand Down
45 changes: 0 additions & 45 deletions tests/conftest.py

This file was deleted.

File renamed without changes.
File renamed without changes.