yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51675
[Bug 1582290] Re: tests depend on testresouces
I have confirmed with Doug Hellmann in #openstack-oslo that
testresources is coming in via the fixtures extra. Thus, keystone does
not have to have it added to test-requirements directly
** Changed in: keystone
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1582290
Title:
tests depend on testresouces
Status in OpenStack Identity (keystone):
Won't Fix
Bug description:
testresources needs to be specified in test-requirements.txt
======================================================================
FAIL:
unittest2.loader._FailedTest.keystone.tests.unit.identity.backends.test_sql
unittest2.loader._FailedTest.keystone.tests.unit.identity.backends.test_sql
----------------------------------------------------------------------
_StringException: Traceback (most recent call last): ImportError:
Failed to import test module:
keystone.tests.unit.identity.backends.test_sql Traceback (most recent
call last): File "/usr/lib/python2.7/dist-
packages/unittest2/loader.py", line 456, in _find_test_path module
= self._get_module_from_name(name) File "/usr/lib/python2.7/dist-
packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name) File
"/<<PKGBUILDDIR>>/keystone/tests/unit/identity/backends/test_sql.py",
line 14, in <module> from oslo_db.sqlalchemy import test_base as
db_test File "/usr/lib/python2.7/dist-
packages/oslo_db/sqlalchemy/test_base.py", line 17, in <module>
import testresources ImportError: No module named testresources
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1582290/+subscriptions
References