Skip to content

Commit

Permalink
WIP: test_misc.py: Use network TEST_NETWORK
Browse files Browse the repository at this point in the history
Addresses #4159
  • Loading branch information
jsarenik committed Dec 13, 2020
1 parent f7cdf1d commit fcf72f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2054,8 +2054,6 @@ def test_testnet_upgrade(node_factory):

# We need to allow this, otherwise no upgrade!
del l1.daemon.opts['allow-deprecated-apis']
# We want to test default network
del l1.daemon.opts['network']

# Wrong chain, will fail to start, but that's OK.
with pytest.raises(ValueError):
Expand Down Expand Up @@ -2145,8 +2143,6 @@ def test_new_node_is_mainnet(node_factory):

# Don't suppress upgrade (though it shouldn't happen!)
del l1.daemon.opts['allow-deprecated-apis']
# We want to test default network
del l1.daemon.opts['network']

# Wrong chain, will fail to start, but that's OK.
with pytest.raises(ValueError):
Expand Down

0 comments on commit fcf72f0

Please sign in to comment.