← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1120896] Re: S3 signature unit tests do not run standalone

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => grizzly-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1120896

Title:
  S3 signature unit tests do not run standalone

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  When running the full suite of run_tests.sh the test_contrib_s3_core
  tests run fine, however when run standalone the tests fail:

  mathrock@devstack:~/devel/openstack/keystone$ ./run_tests.sh test_contrib_s3_core
  test_bad_signature (test_contrib_s3_core.S3ContribCore) ... ERROR
  test_good_signature (test_contrib_s3_core.S3ContribCore) ... ERROR

  ======================================================================
  ERROR: test_bad_signature (test_contrib_s3_core.S3ContribCore)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/mathrock/devel/openstack/keystone/tests/test_contrib_s3_core.py", line 27, in setUp
      self.controller = S3Controller()
    File "/opt/stack/keystone/keystone/common/dependency.py", line 51, in wrapper
      raise UnresolvableDependencyException(dependency)
  UnresolvableDependencyException: Unregistered dependency: ec2_api

  ======================================================================
  ERROR: test_good_signature (test_contrib_s3_core.S3ContribCore)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/mathrock/devel/openstack/keystone/tests/test_contrib_s3_core.py", line 27, in setUp
      self.controller = S3Controller()
    File "/opt/stack/keystone/keystone/common/dependency.py", line 51, in wrapper
      raise UnresolvableDependencyException(dependency)
  UnresolvableDependencyException: Unregistered dependency: ec2_api

  ----------------------------------------------------------------------
  Ran 2 tests in 0.006s

  FAILED (errors=2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1120896/+subscriptions