projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb72c9
)
test: fix parameter type error
author
Paavo Leinonen
<paavo.leinonen@tieto.com>
Wed, 16 Feb 2011 08:58:53 +0000
(10:58 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 16 Feb 2011 15:09:46 +0000
(09:09 -0600)
in 'test-advice-of-charge'-script
test/test-advice-of-charge
patch
|
blob
|
history
diff --git
a/test/test-advice-of-charge
b/test/test-advice-of-charge
index
d71b7c6
..
9f3f655
100755
(executable)
--- a/
test/test-advice-of-charge
+++ b/
test/test-advice-of-charge
@@
-73,7
+73,7
@@
if __name__ == "__main__":
else:
try:
if property == 'AccumulatedCallMeterMaximum':
- newvalue =
int
(newvalue)
+ newvalue =
dbus.UInt32
(newvalue)
elif property == 'PricePerUnit':
newvalue = float(newvalue)
cm.SetProperty(property, newvalue, pin)