skip S3 test sometimes
This commit is contained in:
parent
5124fe4eab
commit
b077e679af
@ -2,7 +2,6 @@ from nose.plugins.skip import SkipTest
|
|||||||
|
|
||||||
from oyster.conf import settings
|
from oyster.conf import settings
|
||||||
from oyster.core import Kernel
|
from oyster.core import Kernel
|
||||||
from oyster.storage.s3 import S3Storage
|
|
||||||
from oyster.storage.gridfs import GridFSStorage
|
from oyster.storage.gridfs import GridFSStorage
|
||||||
from oyster.storage.dummy import DummyStorage
|
from oyster.storage.dummy import DummyStorage
|
||||||
|
|
||||||
@ -24,8 +23,9 @@ def _simple_storage_test(StorageCls):
|
|||||||
|
|
||||||
|
|
||||||
def test_s3():
|
def test_s3():
|
||||||
#if not hasattr(settings, 'AWS_BUCKET'):
|
if not hasattr(settings, 'AWS_BUCKET'):
|
||||||
# raise SkipTest('S3 not configured')
|
raise SkipTest('S3 not configured')
|
||||||
|
from oyster.storage.s3 import S3Storage
|
||||||
_simple_storage_test(S3Storage)
|
_simple_storage_test(S3Storage)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user