summaryrefslogtreecommitdiffstats
path: root/test/test-advice-of-charge
diff options
context:
space:
mode:
authorPaavo Leinonen <paavo.leinonen@tieto.com>2011-02-16 10:58:53 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-02-16 09:09:46 -0600
commitb3cd0b866b0df025873ec9fe5a806e11892dd774 (patch)
treeead454f97416e1c3584e0838000d471f086bacb8 /test/test-advice-of-charge
parentbeb72c921d8d5433115cf17c6607e0e498a174a7 (diff)
downloadofono-b3cd0b866b0df025873ec9fe5a806e11892dd774.tar.bz2
test: fix parameter type error
in 'test-advice-of-charge'-script
Diffstat (limited to 'test/test-advice-of-charge')
-rwxr-xr-xtest/test-advice-of-charge2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-advice-of-charge b/test/test-advice-of-charge
index d71b7c65..9f3f6556 100755
--- 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)