From 607606f51e5e2803a906a0d01b591e4fe8bdf29d Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 7 Dec 2023 17:16:15 +0100 Subject: [PATCH] remove PYTHONPATH stuff --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index cbde1f8..5927d17 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ The cli command abratest has 3 **required arguments**: - `--recipes_dir`: directory of all available abra recipes - `--output_dir`: target directory for all test results -It is also absolutely necessary, that python can import from `recipes_dir`. This can be achieved by adding the path to the `PYTHONPATH` environment variable **before** the python interpreter is started, i.e. before `abratest` is called. - ### env_paths [string] The variable env_paths consists of one or more paths pointing at .env files. The paths are separated with ";". These .env files are actually configuration files for `abra` recipes, but `pytest-abra` uses the same files for test configuration. @@ -72,11 +70,6 @@ The class `RunnerWordpress` will be imported via from wordpress.tests_wordpress.runner_wordpress import RunnerWordpress ``` -which requires that python can find and import from the module `wordpress`. One way to achive this is by adding recipes_dir to the environment variable PYTHONPATH before -i.e. abratest cannot do this itself --> workaround? -todo - # Usage To use pytest-abra, follow these steps: