Commit 285bab38 authored by FichteFoll's avatar FichteFoll

Fix --test-repositories tests for schema 3.0.0

parent 8b26377c
...@@ -505,7 +505,7 @@ class TestContainer(object): ...@@ -505,7 +505,7 @@ class TestContainer(object):
yield cls._fail("No schema_version found in %s" % path) yield cls._fail("No schema_version found in %s" % path)
return return
schema = data['schema_version'] schema = data['schema_version']
if float(schema) not in (1.0, 1.1, 1.2, 2.0) and schema != '3.0.0': if schema != '3.0.0' and float(schema) not in (1.0, 1.1, 1.2, 2.0):
yield cls._fail("Unrecognized schema version %s in %s" yield cls._fail("Unrecognized schema version %s in %s"
% (schema, path)) % (schema, path))
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment