[Python] Py.test No module named *

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    I have a folder structure like this

    App
    --App
    --app.py
    --Docs
    --Tests
    --test_app.py


    In my test_app.py file, I have a line to import my app module. When I run py.test on the root folder, I get this error about no module named app. How should I configure this?

    Continue reading...

Compartilhe esta Página