From b3cd0b866b0df025873ec9fe5a806e11892dd774 Mon Sep 17 00:00:00 2001 From: Paavo Leinonen Date: Wed, 16 Feb 2011 10:58:53 +0200 Subject: [PATCH] test: fix parameter type error in 'test-advice-of-charge'-script --- test/test-advice-of-charge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)