From 1c4c24c37ebbac34252f732ed12507b3112e6d7d Mon Sep 17 00:00:00 2001 From: Francisco Schulz Date: Wed, 1 Feb 2023 16:14:57 +0100 Subject: [PATCH] revert to calling calling `tests` `test` --- README.md | 2 +- pyproject.toml | 2 +- src/image_prediction/locations.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63e4507..886c5ef 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ python scripts/pyinfra_mock.py /path/to/a/pdf Run for example this command to execute all tests and get a coverage report: ```bash -coverage run -m pytest tests --tb=native -q -s -vvv -x && coverage combine && coverage report -m +coverage run -m pytest test --tb=native -q -s -vvv -x && coverage combine && coverage report -m ``` After having built the service container as specified above, you can also run tests in a container as follows: diff --git a/pyproject.toml b/pyproject.toml index 0eb52b8..30fb7e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ docxbuilder = "^1.2.0" norecursedirs = "incl" filterwarnings = ["ignore:.*:DeprecationWarning", ] testpaths = [ - "tests", + "test", ] diff --git a/src/image_prediction/locations.py b/src/image_prediction/locations.py index 5c03894..a4a2442 100644 --- a/src/image_prediction/locations.py +++ b/src/image_prediction/locations.py @@ -14,4 +14,4 @@ DATA_DIR = PACKAGE_ROOT_DIR / "data" MLRUNS_DIR = str(DATA_DIR / "mlruns") -TEST_DATA_DIR = "../" / PACKAGE_ROOT_DIR / "tests" / "data" +TEST_DATA_DIR = "../" / PACKAGE_ROOT_DIR / "test" / "data"