#2888: self.X -> self.config.X

This commit is contained in:
Nick Todd
2025-01-13 15:38:11 +00:00
parent 0203a8699a
commit ea9c13b5f4
6 changed files with 12 additions and 15 deletions

View File

@@ -27,7 +27,7 @@ def test_WebpageUnavailablePenalty(game_and_agent):
client_1 = game.simulation.network.get_node_by_hostname("client_1")
browser: WebBrowser = client_1.software_manager.software.get("WebBrowser")
browser.run()
browser.target_url = "http://www.example.com"
browser.config.target_url = "http://www.example.com"
agent.reward_function.register_component(comp, 0.7)
# Check that before trying to fetch the webpage, the reward is 0.0