← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1582290] [NEW] tests depend on testresouces

 

Public bug reported:

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

** Affects: keystone
     Importance: Undecided
     Assignee: Corey Bryant (corey.bryant)
         Status: In Progress

** Changed in: keystone
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

-- 
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):
  In Progress

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


Follow ups