mirror of git://git.sysmocom.de/ofono
test: Allow test/test-call-settings to exit
if new value is equal to actual value
This commit is contained in:
parent
42ecf16c29
commit
dfd3b44fab
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue