Keep multi-account refresh responsive and batch monster feeding
This commit is contained in:
@@ -169,6 +169,9 @@ class AccountGuiTests(unittest.TestCase):
|
||||
self.connect(second, "account-b", 2, 202, calls)
|
||||
self.assertNotEqual(first.state, second.state)
|
||||
self.assertIsNot(first.pool, second.pool)
|
||||
hub.tabs.setCurrentWidget(first)
|
||||
for page in (first.egg_page, first.monster_page, first.room_page):
|
||||
first.tabs.setCurrentWidget(page)
|
||||
self.assertEqual([first.slots.rowCount(), first.eggs.rowCount(), first.monsters.rowCount(), first.rooms_table.rowCount()], [11, 4, 4, 1])
|
||||
self.assertEqual(first.saved_sessions.count(), 1)
|
||||
first.start_monitor.setChecked(True)
|
||||
|
||||
Reference in New Issue
Block a user