'Verifies that a unit with inherited staff lock does not display inherited information when explicitly locked.'

def _verify_explicit_lock_overrides_implicit_lock_information(self, unit_page):

    self.assertTrue(unit_page.shows_inherited_staff_lock())
    unit_page.toggle_staff_lock(inherits_staff_lock=True)
    self.assertFalse(unit_page.shows_inherited_staff_lock())
    unit_page.toggle_staff_lock(inherits_staff_lock=True)
    self.assertTrue(unit_page.shows_inherited_staff_lock())
