Lines Matching refs:slot
34 for slot in range(num_slots):
35 suffix = self.bootctl.get_suffix(slot)
37 suffixes[suffix] = slot
49 slot = self.bootctl.get_current_slot()
50 self.assertTrue(self.bootctl.set_active_boot_slot(slot))
51 self.assertFalse(self.bootctl.is_slot_marked_successful(slot))
53 self.assertTrue(self.bootctl.is_slot_marked_successful(slot))
58 self.assertTrue(self.bootctl.is_slot_marked_successful(slot))
71 slot = self.bootctl.get_current_slot()
72 new_slot = (slot + 1) % num_slots
75 self.assertEqual(slot, slot2)
93 slot = self.bootctl.get_current_slot()
94 new_slot = (slot + 1) % num_slots
105 self.assertEqual(slot, self.bootctl.get_current_slot())