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:
parent
1f258c4d18
commit
94017094dd
@ -16,14 +16,20 @@
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
import unittest2 as unittest
|
|
||||||
|
|
||||||
from keystone.contrib.s3.core import S3Controller
|
from keystone.contrib.s3.core import S3Controller
|
||||||
|
from keystone.contrib import ec2
|
||||||
|
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
|
from keystone import test
|
||||||
|
|
||||||
|
|
||||||
class S3ContribCore(unittest.TestCase):
|
class S3ContribCore(test.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
super(S3ContribCore, self).setUp()
|
||||||
|
|
||||||
|
self.load_backends()
|
||||||
|
|
||||||
|
self.ec2_api = ec2.Manager()
|
||||||
self.controller = S3Controller()
|
self.controller = S3Controller()
|
||||||
|
|
||||||
def test_good_signature(self):
|
def test_good_signature(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user