#68 ResultsDB functional tests are broken
Closed: Fixed Opened by mkrizek.

py.test -F testing/
=============================================================================================== test session starts ===============================================================================================
platform linux2 -- Python 2.7.12 -- py-1.4.30 -- pytest-2.7.2
rootdir: /home/mkrizek/devel/resultsdb, inifile: pytest.ini
plugins: cov
collected 51 items 
testing/functest_api_v20.py ................F.FFFF..F.FFFFFFFFFF
testing/functest_create_fedmsg.py FFFFFFF
testing/test_helpers.py ........
<snip>

Seems like it was introduced in D1061. I excluded the -F option from the %check section in the spec file until this is fixed so we can do builds ;-)


This ticket had assigned some Differential requests:
D1073

sigh /me did not catch it, since I have resultsdb in the virtualenv, so the pkg_resources work. Could you have a look at it, @ralph ?
When I removed the resultsdb from virtualenv, I get the same errors as described. After running python setup.py develop everything stars passing again. I guess the pkg_resources can not be traversed, when the code is not executed from a package, but it is beyond my understanding of the tool.

Metadata