This is a simple fix for test_DBfile. The included tests were working when called from test_all.py, but not when calling test_DBfile.py directly. The pathing is slightly different in those two cases and, in the latter case, it couldn't find the test data. Fixed by using the dbp_testing helper.
PR Checklist
[X] Pull request has descriptive title
[X] Pull request gives overview of changes
[X] (N/A) New code has inline comments where necessary
[X] (N/A) Any new modules, functions or classes have docstrings consistent with dbprocessing style
[X] (N/A) Major new functionality has appropriate Sphinx documentation
[X] (N/A) Added an entry to release notes if fixing a major bug or providing a major new feature
[X] (N/A) New features and bug fixes should have unit tests
[X] (N/A) Relevant issues are linked in the description (use Closes # if this PR closes the issue, or some other reference, such as See # if it is related in some other way)
This is a simple fix for test_DBfile. The included tests were working when called from
test_all.py
, but not when callingtest_DBfile.py
directly. The pathing is slightly different in those two cases and, in the latter case, it couldn't find the test data. Fixed by using thedbp_testing
helper.PR Checklist
Closes #
if this PR closes the issue, or some other reference, such asSee #
if it is related in some other way)