#2769 - Add remote ip as action parameter

This commit is contained in:
Marek Wolan
2024-08-05 16:27:53 +01:00
parent 99a5119dac
commit b4893c4498
2 changed files with 30 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ def test_remote_logon(game_and_agent):
action = (
"NODE_SESSIONS_REMOTE_LOGIN",
{"node_id": 0, "username": "test_user", "password": "password"},
{"node_id": 0, "username": "test_user", "password": "password", "remote_ip": "10.0.2.2"},
)
agent.store_action(action)
game.step()