Simply activate your virtual environment, pip install -r requirements, and the following commands should work with no other settings or tweaks: pytest app_name python app_name/app.py