Closed justinsalamon closed 8 years ago
This is an artifact of nesting the tests/
directory under the package rather than at the top-level.
Does it work if you run it from the top level dir in the repo as:
$ nosetests -w jams/tests
afraid not, still getting same error.
Could it be that it's trying to load tests from tests/fixtures/schema/testing_uppercase.json, even though there aren't any?
That's strange, since it shouldn't be loading any of the test data through pkg_resources.
Are you sure that things are installed properly (ie, pip install -e .
from the tld)?
That seems to have done the trick (even though all the requirements were already satisfied). Could it be because I hadn't run setup.py develop
(which pip seems to have)?
Yup. For future reference, pip install -e .
will install the package locally without copying. This way, any changes you make in the repo are immediately importable. This is good for testing (compared to not installing at all) because it more accurately reflects how it will be used in the wild.
This is also why it's handy to use conda environments to distinguish between "stable" and "development" environments.
roger that, cheers.
I just pulled the latest&greatest and ran the unit tests (from the tests folder) before getting started on my transcription wrapper, but one test is failing and I'm not entirely clear on what's going on:
@bmcfee Any chance you can help a brother out?