Make tests.helpers.requires_boto_gte()
return the test function rather than calling it
This commit is contained in:
parent
262b698149
commit
32f0d7e16c
@ -15,5 +15,5 @@ class requires_boto_gte(object):
|
||||
boto_version = version_tuple(boto.__version__)
|
||||
required = version_tuple(self.version)
|
||||
if boto_version >= required:
|
||||
return test()
|
||||
return test
|
||||
raise SkipTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user