python-docker

Execute pytest from another python script within docker

Execute pytest from another python script within docker Question: I have a test script written using pytest and it works fine when I execute it as standalone. User:~my_workspace/python_project$ pytest path_to_script/my_script.py Now I have to run this script with different parameters and hence I have created a python file (script_to_invoke_pytest.py) so that I can run the …

Total answers: 1