Yet another special case for the yaml tests

This commit is contained in:
Honza Král
2015-04-22 22:57:45 +02:00
parent db541b5daa
commit f910581f5e
@@ -151,6 +151,8 @@ class YamlTestCase(ElasticsearchTestCase):
if 'version' in skip:
version, reason = skip['version'], skip['reason']
if version == 'all':
raise SkipTest(reason)
min_version, max_version = version.split('-')
min_version = _get_version(min_version) or (0, )
max_version = _get_version(max_version) or (999, )