2580: djblets: can't run tests from release tarball

dmitry.n*********@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 1, 2014
Hi,

It looks like it's impossible to pass all tests from release tarball of djblets.

I've found that followed two files are missing in DJblets-0.6.17 tarball compared to corresponding git tag:

djblets/feedview/testdata/sample.rss
contrib/internal/release.py
tests/pyflakes.exclude

Are tests supposed to be executed from release tarball?

Also even in git tag, one of test fails:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/srv/dion/src/deb/djblets/test/test.git/djblets/pipeline/compilers/bless.py", line 6, in <module>
    from pipeline.compilers import CompilerBase, CompilerError
ImportError: No module named pipeline.compilers

Probably setup.py has no dependeny on django-pipeline or just test is outdated.

Thanks
david
#1 david
  • +Djblets
    +Component-Deployment
david
#2 david
The tests are really just intended for development. I don't think we care about running it from a tarball.
  • +WontFix