=== modified file 'mandos-ctl' --- mandos-ctl 2019-03-06 18:30:45 +0000 +++ mandos-ctl 2019-03-06 18:33:51 +0000 @@ -1140,6 +1140,12 @@ command = commands[0] self.assertIsInstance(command, EnableCmd) self.assertEqual(self.options.client, ["foo"]) + def test_disable(self): + commands = self.commands_from_args(["--disable", "foo"]) + self.assertEqual(len(commands), 1) + command = commands[0] + self.assertIsInstance(command, DisableCmd) + self.assertEqual(self.options.client, ["foo"])