New test from ISIS implemented - test_lookup_sent correct

This commit is contained in:
t
2025-01-10 21:41:44 +01:00
parent bb9c2d1d4c
commit 92581b3d4b
4 changed files with 49 additions and 24 deletions
+3 -3
View File
@@ -78,7 +78,7 @@ def test_listen(static_peer):
@pytest.mark.timeout(1)
@pytest.mark.parametrize("uri", ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'])
@pytest.mark.parametrize("uri", ['a', 'b', 'aa', 'ab', 'ac', 'ad', 'klm', 'xyz'])
def test_immediate_dht(static_peer, uri):
"""Test hashing of request (1.2)
Run peer in minimal (non-trivial) DHT
@@ -121,7 +121,7 @@ def test_immediate_dht(static_peer, uri):
@pytest.mark.timeout(1)
@pytest.mark.parametrize("uri", ['a', 'b'])
@pytest.mark.parametrize("uri", ['a', 'aa'])
def test_lookup_sent(static_peer, uri):
"""Test for lookup to correct peer (1.3)
@@ -219,7 +219,7 @@ def test_lookup_forward(static_peer):
@pytest.mark.timeout(1)
@pytest.mark.parametrize("uri", ['a', 'b'])
@pytest.mark.parametrize("uri", ['a', 'aa'])
def test_lookup_complete(static_peer, uri):
"""Test for correct lookup use (1.6)