From 0f3539ac6d772fc646b5f184fa1efe77bf632f6a Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Mon, 28 Oct 2019 14:54:41 +0100 Subject: [PATCH] test: add listlabels test in wallet_labels.py --- test/functional/wallet_labels.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/wallet_labels.py b/test/functional/wallet_labels.py index b71dae9f40d..2af8d2abacf 100755 --- a/test/functional/wallet_labels.py +++ b/test/functional/wallet_labels.py @@ -152,14 +152,13 @@ class Label: def verify(self, node): if self.receive_address is not None: assert self.receive_address in self.addresses - for address in self.addresses: assert_equal( node.getaddressinfo(address)['labels'][0], {"name": self.name, "purpose": self.purpose[address]}) assert_equal(node.getaddressinfo(address)['label'], self.name) - + assert self.name in node.listlabels() assert_equal( node.getaddressesbylabel(self.name), {address: {"purpose": self.purpose[address]} for address in self.addresses})