summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-03-06 13:04:45 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 17:25:59 (GMT)
commit04cac51a36804f9d1327351144014501e528f824 (patch)
tree910186c0358f38ffb12ab3d046d678aeb36a28e9 /test
parentb57b82c73c7d2e439440208783c0f142d590f8a6 (diff)
downloadconnman-04cac51a36804f9d1327351144014501e528f824.zip
connman-04cac51a36804f9d1327351144014501e528f824.tar.gz
connman-04cac51a36804f9d1327351144014501e528f824.tar.bz2
test: test-session does not exit any more when catching dbus exceptions
Fixes BMC#24964
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-session7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test-session b/test/test-session
index 5694ad0..2d82fb6 100755
--- a/test/test-session
+++ b/test/test-session
@@ -76,7 +76,6 @@ class SessionApplication(dbus.service.Object):
bus.watch_name_owner('net.connman', self.connman_name_owner_changed)
except dbus.DBusException:
traceback.print_exc()
- exit(1)
def connman_name_owner_changed(self, proxy):
try:
@@ -97,7 +96,6 @@ class SessionApplication(dbus.service.Object):
except dbus.DBusException:
traceback.print_exc()
- exit(1)
def release(self, session_name):
s = self.find_session(session_name)
@@ -165,7 +163,6 @@ class SessionApplication(dbus.service.Object):
print e.get_dbus_message()
return
traceback.print_exc()
- exit(1)
@dbus.service.method("com.example.TestSession",
in_signature='', out_signature='')
@@ -181,7 +178,6 @@ class SessionApplication(dbus.service.Object):
self.release(session_name)
except dbus.DBusException:
traceback.print_exc()
- exit(1)
@dbus.service.method("com.example.TestSession",
in_signature='', out_signature='')
@@ -200,7 +196,6 @@ class SessionApplication(dbus.service.Object):
print e.get_dbus_message()
return
traceback.print_exc()
- exit(1)
@dbus.service.method("com.example.TestSession",
in_signature='', out_signature='')
@@ -219,7 +214,6 @@ class SessionApplication(dbus.service.Object):
print e.get_dbus_message()
return
traceback.print_exc()
- exit(1)
@dbus.service.method("com.example.TestSession",
in_signature='', out_signature='')
@@ -239,7 +233,6 @@ class SessionApplication(dbus.service.Object):
print e.get_dbus_message()
return
traceback.print_exc()
- exit(1)
@dbus.service.method("com.example.TestSession",
in_signature='', out_signature='')