Lines Matching refs:new_slot
72 new_slot = (slot + 1) % num_slots
73 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))
80 self.assertEqual(new_slot, self.bootctl.get_current_slot())
94 new_slot = (slot + 1) % num_slots
97 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))
98 self.assertTrue(self.bootctl.is_slot_bootable(new_slot))
99 self.assertTrue(self.bootctl.set_slot_as_unbootable_slot(new_slot))
100 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))
106 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))
107 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))
108 self.assertTrue(self.bootctl.is_slot_bootable(new_slot))
113 self.assertEqual(new_slot, self.bootctl.get_current_slot());