mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
pytest: Temporarily disable alias and color checking for DEVELOPER=0
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
5e0a5c9111
commit
b8b4998f7a
1 changed files with 10 additions and 8 deletions
|
@ -1461,14 +1461,16 @@ class LightningDTests(BaseLightningDTests):
|
||||||
assert n2['nodeid'] == l2.info['id']
|
assert n2['nodeid'] == l2.info['id']
|
||||||
|
|
||||||
# Might not have seen other node-announce yet.
|
# Might not have seen other node-announce yet.
|
||||||
assert n1['alias'] == 'JUNIORBEAM'
|
# TODO(cdecker) Can't check these without DEVELOPER=1, re-enable after we get alias and color into getinfo
|
||||||
assert n1['color'] == '0266e4'
|
if DEVELOPER:
|
||||||
if not 'alias' in n2:
|
assert n1['alias'] == 'JUNIORBEAM'
|
||||||
assert not 'color' in n2
|
assert n1['color'] == '0266e4'
|
||||||
assert not 'addresses' in n2
|
if not 'alias' in n2:
|
||||||
else:
|
assert not 'color' in n2
|
||||||
assert n2['alias'] == 'SILENTARTIST'
|
assert not 'addresses' in n2
|
||||||
assert n2['color'] == '022d22'
|
else:
|
||||||
|
assert n2['alias'] == 'SILENTARTIST'
|
||||||
|
assert n2['color'] == '022d22'
|
||||||
|
|
||||||
assert [c['active'] for c in l1.rpc.listchannels()['channels']] == [True, True]
|
assert [c['active'] for c in l1.rpc.listchannels()['channels']] == [True, True]
|
||||||
assert [c['public'] for c in l1.rpc.listchannels()['channels']] == [True, True]
|
assert [c['public'] for c in l1.rpc.listchannels()['channels']] == [True, True]
|
||||||
|
|
Loading…
Add table
Reference in a new issue