Skip to content

How should I run pytest after I restructure my code with src structure? #42

@MrDataPsycho

Description

@MrDataPsycho

Hi,
After I change the structure of package with src/... , now the the main package adp is not available for pytest anymore if I do not install the package with pipenv install -e . . Do I need to install/upgrade every time I want to test the code. I have read until end of Custom Index Server Chapter 3. At that point if I do not install the adp.sensor package into the environment I am not able to run pytest. There might be solution later on but so far I am stuck at chapter 3 with pytest. Or may be the only way is to install it first and then run the pytest just want to be confirmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions