Skip to content

Tests fail out of the box #20

@ModeSevenIndustrialSolutions

Description

Tox and pytest both fail after Pyscaffold is run with:

=================================================================== ERRORS ===================================================================
__________________________________________________ ERROR collecting tests/test_skeleton.py ___________________________________________________
ImportError while importing test module '/Users/mwatkins/Repos/modeseven-os-climate/osc-physrisk-financial/tests/test_skeleton.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../.pyenv/versions/3.10.13/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_skeleton.py:3: in <module>
    from osc_physrisk_financial.skeleton import fib, main
E   ModuleNotFoundError: No module named 'osc_physrisk_financial'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions