mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
pytest: make tor-requiring tests clearly distinguishable
This way you can run pytest with '-k no _tor_'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1999,7 +1999,7 @@ def check_socket(ip_addr, port):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.developer("needs a running Tor service instance at port 9151 or 9051")
|
@pytest.mark.developer("needs a running Tor service instance at port 9151 or 9051")
|
||||||
def test_statictor_onions(node_factory):
|
def test_static_tor_onions(node_factory):
|
||||||
"""First basic tests ;-)
|
"""First basic tests ;-)
|
||||||
|
|
||||||
Assume that tor is configured and just test
|
Assume that tor is configured and just test
|
||||||
@@ -2034,7 +2034,7 @@ def test_statictor_onions(node_factory):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.developer("needs a running Tor service instance at port 9151 or 9051")
|
@pytest.mark.developer("needs a running Tor service instance at port 9151 or 9051")
|
||||||
def test_torport_onions(node_factory):
|
def test_tor_port_onions(node_factory):
|
||||||
"""First basic tests for torport ;-)
|
"""First basic tests for torport ;-)
|
||||||
|
|
||||||
Assume that tor is configured and just test
|
Assume that tor is configured and just test
|
||||||
|
|||||||
Reference in New Issue
Block a user