Skip to content

dpbmm/pytest_import_question

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

Question about Importing Modules under Pytest

I'm converting some tests written earlier for Unittest and am having trouble with import statements when running them with Pytest.

As an example, in the older code the module create.py in directory lib might be imported as

import lib.create

but this syntax usually raises errors when I run the code with Pytest.

This repository has been moved.

[end]

About

A question about importing modules within Pytest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published