def METHOD_NAME(self, command_name, para_list, ctx, op=operator.eq, expect_result=0):
    runner = CliRunner()
    result = runner.invoke(config.config.commands["interface"].commands[command_name], para_list, obj = ctx)
    print(result.output)
    assert op(result.exit_code, expect_result)
    return result