def METHOD_NAME(self):
    args = []
    # Missing --daemon, --client
    with self.assertRaises(SystemExit):
        inl_client.commandline_client(args)
    # Missing --daemon
    args.extend(['--client', '0'])
    with self.assertRaises(SystemExit):
        inl_client.commandline_client(args)
    # this is the last required arg
    args.extend(['--daemon', 'stop'])
    c, cmd = inl_client.commandline_client(args)
    self.assertEqual(cmd, 'stop')