#2769: add change password action

This commit is contained in:
Czar Echavez
2024-07-25 10:02:32 +01:00
parent 173f110fb2
commit df50ec8abc
3 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
# © Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
def test_remote_logon(game_and_agent):
"""Test that the remote session login action works."""
game, agent = game_and_agent
action = (
"NODE_ACCOUNTS_CHANGEPASSWORD",
{"node_id": 0},
)
agent.store_action(action)
game.step()
# TODO Assert that the user account password is changed