Author: jreidinger Date: Thu Jul 3 18:22:01 2008 New Revision: 48858 URL: http://svn.opensuse.org/viewcvs/yast?rev=48858&view=rev Log: new test Modified: branches/tmp/lslezak/workshop/auth_dbus_layer/test.py Modified: branches/tmp/lslezak/workshop/auth_dbus_layer/test.py URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/auth_dbus_layer/test.py?rev=48858&r1=48857&r2=48858&view=diff ============================================================================== --- branches/tmp/lslezak/workshop/auth_dbus_layer/test.py (original) +++ branches/tmp/lslezak/workshop/auth_dbus_layer/test.py Thu Jul 3 18:22:01 2008 @@ -12,7 +12,13 @@ print yast_SCR.Dirpk('.sysconfig.kdump', 'PyNone', dbus_interface='org.opensuse.YaST.Auth') except Exception, e: print e.message + print yast_SCR.Readpk('.time', {'format' : '+%z'}, dbus_interface='org.opensuse.YaST.Auth') - - print yast_SCR.Read('.sysconfig.kdump.KDUMP_COMMANDLINE', 'PyNone', dbus_interface='org.opensuse.YaST') + + try: + print yast_SCR.Read('.sysconfig.kdump.KDUMP_COMMANDLINE', 'PyNone', dbus_interface='org.opensuse.YaST') + except dbus.exceptions.DBusException, e: + print e.message + + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org