general: minor cleanup
- get rid of unnecessary globs in get_files (they should be in config if the user wishes) - get rid of some old kython imports - do not convert Path twice in foursquare (so CPath works correctly)
This commit is contained in:
parent
5799c062a5
commit
2025d7ad1a
10 changed files with 20 additions and 58 deletions
|
@ -3,9 +3,9 @@ NOTE: Sigh. it's nice to be able to define the tests next to the source code (so
|
|||
However, if you run 'pytest --pyargs my.core', it detects 'core' package name (because there is no my/__init__.py)
|
||||
(see https://docs.pytest.org/en/latest/goodpractices.html#tests-as-part-of-application-code)
|
||||
|
||||
This results in relative imports failing (e.g. from ..kython import...).
|
||||
This results in relative imports failing (e.g. from ..core import...).
|
||||
|
||||
By using this helper file, pytest can detect the package name properly. A bit meh, but perhaps after kython is moved into the core,
|
||||
By using this helper file, pytest can detect the package name properly. A bit meh, but perhaps later,
|
||||
we can run against the tests in my.core directly.
|
||||
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue