From b8b4998f7a2a40ea38b9d0267468182421b79621 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 18 Jan 2018 13:55:04 +0100 Subject: [PATCH] pytest: Temporarily disable alias and color checking for DEVELOPER=0 Signed-off-by: Christian Decker --- tests/test_lightningd.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tests/test_lightningd.py b/tests/test_lightningd.py index c50db0185..af8a720d6 100644 --- a/tests/test_lightningd.py +++ b/tests/test_lightningd.py @@ -1461,14 +1461,16 @@ class LightningDTests(BaseLightningDTests): assert n2['nodeid'] == l2.info['id'] # Might not have seen other node-announce yet. - assert n1['alias'] == 'JUNIORBEAM' - assert n1['color'] == '0266e4' - if not 'alias' in n2: - assert not 'color' in n2 - assert not 'addresses' in n2 - else: - assert n2['alias'] == 'SILENTARTIST' - assert n2['color'] == '022d22' + # TODO(cdecker) Can't check these without DEVELOPER=1, re-enable after we get alias and color into getinfo + if DEVELOPER: + assert n1['alias'] == 'JUNIORBEAM' + assert n1['color'] == '0266e4' + if not 'alias' in n2: + assert not 'color' in n2 + assert not 'addresses' in n2 + else: + assert n2['alias'] == 'SILENTARTIST' + assert n2['color'] == '022d22' assert [c['active'] for c in l1.rpc.listchannels()['channels']] == [True, True] assert [c['public'] for c in l1.rpc.listchannels()['channels']] == [True, True]