summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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)