Merge "test: support voluptuous 7.0+"
This commit is contained in:
commit
b4a8f97e07
|
@ -12,6 +12,6 @@ ordereddict
|
||||||
python-daemon
|
python-daemon
|
||||||
extras
|
extras
|
||||||
statsd>=1.0.0,<3.0
|
statsd>=1.0.0,<3.0
|
||||||
voluptuous>=0.6,<0.7
|
voluptuous>=0.7
|
||||||
gear>=0.4.0,<1.0.0
|
gear>=0.4.0,<1.0.0
|
||||||
apscheduler>=2.1.1,<3.0
|
apscheduler>=2.1.1,<3.0
|
||||||
|
|
|
@ -97,7 +97,7 @@ class LayoutSchema(object):
|
||||||
for k, v in value.items():
|
for k, v in value.items():
|
||||||
self.validateJob(v, path + [k])
|
self.validateJob(v, path + [k])
|
||||||
else:
|
else:
|
||||||
self.job_name.validate(path, self.job_name.schema, value)
|
self.job_name.schema(value)
|
||||||
|
|
||||||
def validateTemplateCalls(self, calls):
|
def validateTemplateCalls(self, calls):
|
||||||
""" Verify a project pass the parameters required
|
""" Verify a project pass the parameters required
|
||||||
|
|
Loading…
Reference in New Issue