Skip some tests for py3 since boto is not compatible yet.

This commit is contained in:
Steve Pulec 2015-01-11 16:39:39 -05:00
commit 1ca651e106
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,7 @@
from __future__ import unicode_literals
import boto
from nose.plugins.skip import SkipTest
import six
def version_tuple(v):
@ -23,3 +24,10 @@ class requires_boto_gte(object):
if boto_version >= required:
return test
return skip_test
class disable_on_py3(object):
def __call__(self, test):
if not six.PY3:
return test
return skip_test