Unify strategy controls and refresh logged-in accounts automatically
This commit is contained in:
@@ -127,8 +127,8 @@ class HatchTimerGuiTests(unittest.TestCase):
|
||||
window.engine = Engine(window.catalog, client)
|
||||
window.engine.last_heartbeat = time.monotonic()
|
||||
window.egg_rules = policy_for(client).egg_rules
|
||||
window.start_monitor.setChecked(True)
|
||||
window.execute.setChecked(True)
|
||||
window.monitoring = True
|
||||
window.set_strategy_checked(True)
|
||||
with patch.object(window, "poll_delay", return_value=300), patch("ranch_assistant.gui.random.uniform", return_value=1.5) as draw:
|
||||
window.refresh(automated=True)
|
||||
self.wait(window)
|
||||
|
||||
Reference in New Issue
Block a user