Skip to content

How do you test this? #180

@myarcana

Description

@myarcana

Both python tests/test_simple.py and python -m unittest discover throw errors because of the import

  File "sampleproject/tests/test_simple.py", line 7, in <module>
    from sample.simple import add_one
ModuleNotFoundError: No module named 'sample'

So what's the correct way to test this package and other packages while in development?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions