#2913: Make rewards work with config file.

This commit is contained in:
Nick Todd
2024-11-06 11:35:06 +00:00
parent b849ea6312
commit 370bcfc476
3 changed files with 23 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ def test_WebpageUnavailablePenalty(game_and_agent):
agent: ControlledAgent
schema = WebpageUnavailablePenalty.ConfigSchema(node_hostname="client_1", sticky=True)
comp = WebpageUnavailablePenalty(config=schema)
client_1 = game.simulation.network.get_node_by_hostname("client_1")
browser: WebBrowser = client_1.software_manager.software.get("WebBrowser")
browser.run()