Document unified Medium slots and dashboard capacity
This commit is contained in:
@@ -152,6 +152,14 @@ class DashboardModeTests(unittest.TestCase):
|
||||
self.assertIn('id="slotHistoryRanges"', self.dashboard.HTML)
|
||||
self.assertIn("drawSlotHistory(d.slot_points||[])", self.dashboard.HISTORY_JS)
|
||||
|
||||
def test_unified_slots_show_current_shared_capacity(self):
|
||||
script = self.dashboard.FULL_JS
|
||||
|
||||
self.assertIn("function sharedSlotPool(slots,unified)", script)
|
||||
self.assertIn("used+pool.free", script)
|
||||
self.assertIn("lr.kv_unified===true", script)
|
||||
self.assertIn("Gemeinsamer Pool:", script)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user