fix unit tests launch by `nosetests` from base directory
MR description
Solves issue #370 (closed) which reports unit tests not functioning when launching nosetests
from basedir $FEDBIOMED_DIR
.
Root issue seems to be a missing mock when instantiating a DatasetManager
object in the test_dataset_manager
.
Developer Certificate Of Origin (DCO)
By opening this merge request, you agree the Developer Certificate of Origin (DCO)
This DCO essentially means that:
- you offer the changes under the same license agreement as the project, and
- you have the right to do that,
- you did not steal somebody else’s work.
License
Project code files should begin with these comment lines to help trace their origin:
# This file is originally part of Fed-BioMed
# SPDX-License-Identifier: Apache-2.0
Code files can be reused from another project with a compatible non-contaminating license.
They shall retain the original license and copyright mentions.
The CREDIT.md
file and credit/
directory shall be completed and updated accordingly.