The "mon add" command now lets you pass in arbitrary numbers of strings,
so that you can include locations, so this test is invalid.
I considered updating it to only allow a single non-spaced string, but
datacenter=site1 rack=abc host=host1
is accepted elsewhere, so let's keep that consistent and just remove
this test instead.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
assert_equal({}, validate_command(sigdict, ['mon', 'add',
'name',
'400.500.600.700']))
- assert_equal({}, validate_command(sigdict, ['mon', 'add', 'name',
- '1.2.3.4:1234',
- 'toomany']))
def test_remove(self):
self.assert_valid_command(['mon', 'remove', 'name'])