-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I suspect this has to do with pytest import modes: https://pytest.org/en/7.4.x/explanation/pythonpath.html#import-modes
Hypothesis:
with the default i.e.
prepend, having twotestsdirectory in the mono repo with__init__.pyspecified will cause conflicts. It could be thatpipelinepackage was the only package with__init__.pyin itstestsfolder (needs verification). Introducing__init__.pytosite_archive_nci/testscaused two "tests" modules to be recognised, withsite_archive_ncitaking precedence, since it is installed last (due to prepend - LIFO). This may have caused helper functions inpipelineto not be recognized.Regardless of precedence, we want the ability for package tests to have utility modules since they are in some instances easier to write and organise than fixtures.
There are a few options to work around this, but its beyond the scope of this issue.
Originally posted by @nikeethr in #106 (comment)