def METHOD_NAME(self):        
    runner = CliRunner()
    db = Db()
    obj = {'config_db':db.cfgdb}
    action = 'xforwardx'
    iface = 'Ethernet0'
    ERROR_MSG = "Error: Invalid action"
    result = runner.invoke(config.config.commands['interface'].commands["ip"].commands['loopback-action'], [iface, action], obj=obj)
    print(result.exit_code, result.output)
    assert result.exit_code != 0
    assert ERROR_MSG in result.output