summaryrefslogtreecommitdiff
path: root/test/test-ss-control-cs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-ss-control-cs')
-rwxr-xr-xtest/test-ss-control-cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test-ss-control-cs b/test/test-ss-control-cs
index 6ce022f8..2d5442f8 100755
--- a/test/test-ss-control-cs
+++ b/test/test-ss-control-cs
@@ -37,19 +37,19 @@ if __name__ == "__main__":
print("Trying invalid SS request for CLIR")
try:
print(ss.Initiate("*31#456666"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CLIR")
try:
print(ss.Initiate("*31*455*4#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CLIR")
try:
print(ss.Initiate("*31**44435#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Query CLIP")
@@ -77,19 +77,19 @@ if __name__ == "__main__":
print("Trying invalid SS request for CW")
try:
print(ss.Initiate("*43#456666"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CW")
try:
print(ss.Initiate("*43*455*4#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CW")
try:
print(ss.Initiate("*43**44435#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Query CW")