Open velkymx opened 4 years ago
Once the environment variable is declared in the Docker image, it can be referenced in the python files.
https://vsupalov.com/docker-arg-env-variable-guide/
This check could potentially be added to the util.py
file and called inside of BaseTest's setUpClass()
so it is only run once per suite. Or it could also just live inside of BaseTest's setUpClass()
without involving the other file.
The core test library needs to change if it's running inside of the docker or not.
Add a check inside of the header of the test to determine the script source and add or remove additional content as needed.
Ideally this test should be done as a method that is included in all tests.