Fix test_contrib_s3_core unit test

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

Change-Id: I287d05aaab40f441dca9fdca0a5dc6bee1fd073d
Fixes: bug #1120896
This commit is contained in:
mathrock 2013-02-10 01:06:29 -05:00
parent 1f258c4d18
commit 94017094dd
1 changed files with 9 additions and 3 deletions

View File

@ -16,14 +16,20 @@
import uuid
import unittest2 as unittest
from keystone.contrib.s3.core import S3Controller
from keystone.contrib import ec2
from keystone import exception
from keystone import test
class S3ContribCore(unittest.TestCase):
class S3ContribCore(test.TestCase):
def setUp(self):
super(S3ContribCore, self).setUp()
self.load_backends()
self.ec2_api = ec2.Manager()
self.controller = S3Controller()
def test_good_signature(self):