Show all monsters by default on the ranch page

This commit is contained in:
AttilaNet
2026-11-08 10:07:47 +08:00
parent 10610e7b6e
commit e191226ca0
4 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -173,7 +173,8 @@ class AccountGuiTests(unittest.TestCase):
for page in (first.egg_page, first.monster_page, first.room_page):
first.tabs.setCurrentWidget(page)
self.assertEqual([first.slots.rowCount(), first.eggs.rowCount(), len(first.monsters.monster_items)], [11, 4, 4])
self.assertIn("room:1", first.monsters.group_items)
self.assertFalse(first.monsters.group_items)
self.assertTrue(all(item.parent() is None for item in first.monsters.monster_items.values()))
self.assertEqual(first.saved_sessions.count(), 1)
first.start_monitor.setChecked(True)
hub.tabs.setCurrentWidget(second)