Unify strategy controls and refresh logged-in accounts automatically
This commit is contained in:
@@ -206,7 +206,7 @@ class V11GuiTests(unittest.TestCase):
|
||||
path.write_text(json.dumps(portable_policy(policy, window.engine.snapshot)), encoding="utf-8")
|
||||
with patch("ranch_assistant.gui.W.QFileDialog.getOpenFileName", return_value=(str(path), "")):
|
||||
window.import_policies()
|
||||
self.assertFalse(window.execute.isChecked())
|
||||
self.assertFalse(window.strategy_toggle.isChecked())
|
||||
self.assertFalse(window.read_policy().gift_enabled)
|
||||
finally:
|
||||
window.close()
|
||||
|
||||
Reference in New Issue
Block a user