Skip to content

New error found #4

@ayushkumar63123

Description

@ayushkumar63123

ImportError while importing test module '/home/runner/work/django-flash/django-flash/flash/tests/test_flash.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
flash/init.py:3: in
from django.db.models.base import ModelBase
E ModuleNotFoundError: No module named 'django'
=========================== short test summary info ============================
ERROR flash/tests/test_flash.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.10s ===============================
Error: Process completed with exit code 2.

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