Make tests.helpers.requires_boto_gte() return the test function rather than calling it

This commit is contained in:
Hugo Lopes Tavares 2014-01-24 10:45:39 -05:00
parent 262b698149
commit 32f0d7e16c

View File

@ -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