fix: unit tests changes to account for address changes
ref: N25B-205
This commit is contained in:
@@ -88,7 +88,7 @@ async def test_setup_creates_socket_and_negotiate_1(monkeypatch):
|
|||||||
MockCommandAgent.assert_called_once_with(
|
MockCommandAgent.assert_called_once_with(
|
||||||
ANY, # Server Name
|
ANY, # Server Name
|
||||||
ANY, # Server Password
|
ANY, # Server Password
|
||||||
address="tcp://localhost:5556", # derived from the 'port' value in negotiation
|
address="tcp://*:5556", # derived from the 'port' value in negotiation
|
||||||
bind=True
|
bind=True
|
||||||
)
|
)
|
||||||
# Ensure the agent attached a ListenBehaviour
|
# Ensure the agent attached a ListenBehaviour
|
||||||
@@ -124,7 +124,7 @@ async def test_setup_creates_socket_and_negotiate_2(monkeypatch):
|
|||||||
MockCommandAgent.assert_called_once_with(
|
MockCommandAgent.assert_called_once_with(
|
||||||
ANY, # Server Name
|
ANY, # Server Name
|
||||||
ANY, # Server Password
|
ANY, # Server Password
|
||||||
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
|
address="tcp://*:5557", # derived from the 'port' value in negotiation
|
||||||
bind=True
|
bind=True
|
||||||
)
|
)
|
||||||
# Ensure the agent attached a ListenBehaviour
|
# Ensure the agent attached a ListenBehaviour
|
||||||
@@ -198,7 +198,7 @@ async def test_setup_creates_socket_and_negotiate_4(monkeypatch):
|
|||||||
MockCommandAgent.assert_called_once_with(
|
MockCommandAgent.assert_called_once_with(
|
||||||
ANY, # Server Name
|
ANY, # Server Name
|
||||||
ANY, # Server Password
|
ANY, # Server Password
|
||||||
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
|
address="tcp://*:5557", # derived from the 'port' value in negotiation
|
||||||
bind=True
|
bind=True
|
||||||
)
|
)
|
||||||
# Ensure the agent attached a ListenBehaviour
|
# Ensure the agent attached a ListenBehaviour
|
||||||
@@ -234,7 +234,7 @@ async def test_setup_creates_socket_and_negotiate_5(monkeypatch):
|
|||||||
MockCommandAgent.assert_called_once_with(
|
MockCommandAgent.assert_called_once_with(
|
||||||
ANY, # Server Name
|
ANY, # Server Name
|
||||||
ANY, # Server Password
|
ANY, # Server Password
|
||||||
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
|
address="tcp://*:5557", # derived from the 'port' value in negotiation
|
||||||
bind=True
|
bind=True
|
||||||
)
|
)
|
||||||
# Ensure the agent attached a ListenBehaviour
|
# Ensure the agent attached a ListenBehaviour
|
||||||
@@ -270,7 +270,7 @@ async def test_setup_creates_socket_and_negotiate_6(monkeypatch):
|
|||||||
MockCommandAgent.assert_called_once_with(
|
MockCommandAgent.assert_called_once_with(
|
||||||
ANY, # Server Name
|
ANY, # Server Name
|
||||||
ANY, # Server Password
|
ANY, # Server Password
|
||||||
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
|
address="tcp://*:5557", # derived from the 'port' value in negotiation
|
||||||
bind=True
|
bind=True
|
||||||
)
|
)
|
||||||
# Ensure the agent attached a ListenBehaviour
|
# Ensure the agent attached a ListenBehaviour
|
||||||
|
|||||||
Reference in New Issue
Block a user