Commit 03ba71c0 authored by FichteFoll's avatar FichteFoll

Check whether labels contain commas

parent 9ad7de9e
...@@ -305,6 +305,12 @@ class TestContainer(object): ...@@ -305,6 +305,12 @@ class TestContainer(object):
# Allow "removing" the donate url that is added by "details" # Allow "removing" the donate url that is added by "details"
continue continue
elif k == 'labels':
for label in v:
self.assertNotIn(",", label,
"Multiple labels should not be in the "
"same string")
elif k == 'previous_names': elif k == 'previous_names':
# Test if name is unique, against names and previous_names. # Test if name is unique, against names and previous_names.
for prev_name in v: for prev_name in v:
......
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