move some tests into the main HPI package
This commit is contained in:
parent
9594caa1cd
commit
9d7d18fb6c
2 changed files with 22 additions and 10 deletions
8
my/tests/__init__.py
Normal file
8
my/tests/__init__.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
# hmm, sadly pytest --import-mode importlib --pyargs my.core.tests doesn't work properly without __init__.py
|
||||
# although it works if you run either my.core or my.core.tests.sqlite (for example) directly
|
||||
# so if it gets in the way could get rid of this later?
|
||||
|
||||
# this particularly sucks here, because otherwise would be nice if people could also just put tests for their my. packages into their tests/ directory
|
||||
# maybe some sort of hack could be used later similar to handle_legacy_import?
|
||||
|
||||
from my.core import __NOT_HPI_MODULE__
|
Loading…
Add table
Add a link
Reference in a new issue