diff --git a/test/simple-agent b/test/simple-agent
index 4a12006..f887f92 100755
--- a/test/simple-agent
+++ b/test/simple-agent
raise Rejected("Pairing rejected")
@dbus.service.method(AGENT_INTERFACE,
- in_signature="s", out_signature="")
- def ConfirmModeChange(self, mode):
- print("ConfirmModeChange (%s)" % (mode))
- authorize = ask("Authorize mode change (yes/no): ")
- if (authorize == "yes"):
- return
- raise Rejected("Mode change by user")
-
- @dbus.service.method(AGENT_INTERFACE,
in_signature="", out_signature="")
def Cancel(self):
print("Cancel")