Remove item unique constraint for command

The command value can be a list, which would be a Unix command-line
invocation broken up into individual values, thus needing the ability to
have non unique values.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-09-09 16:04:27 +01:00
commit 4bed5de291
2 changed files with 7 additions and 2 deletions

View file

@ -183,7 +183,7 @@ class ConfigTest(unittest.TestCase):
)
def test_invalid_list_of_strings_format(self):
expected_error_msg = "'command' contains an invalid type, valid types are string or list of strings"
expected_error_msg = "'command' contains an invalid type, valid types are string or array"
with self.assertRaisesRegexp(ConfigurationError, expected_error_msg):
config.load(
config.ConfigDetails(