Commit 776ad9a3 authored by FichteFoll's avatar FichteFoll

Test if there is only one of "branch" or "tags"

parent 71f32a7f
......@@ -297,6 +297,10 @@ class TestContainer(object):
self.assertIn('sublime_text', data,
'A sublime text version selector is required')
self.assertFalse(('tags' in data and 'branch' in data),
'A release must have a only one of the "tags" or '
'"branch" keys.')
for k, v in data.items():
self.assertIn(k, ('base', 'tags', 'branch', 'sublime_text',
'platforms', 'version', 'date', 'url'))
......
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