test: Allow test/test-call-settings to exit

if new value is equal to actual value
This commit is contained in:
Bertrand Aygon 2011-03-04 10:53:36 +01:00 committed by Denis Kenzior
parent 42ecf16c29
commit dfd3b44fab
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ if __name__ == "__main__":
print "Setting successful"
if (properties[property] == newvalue):
print "Setting was already set to this value"
sys.exit(1);
canexit = True
mainloop = gobject.MainLoop()