def test_listing_marker_is_not_set_by_default(self):
        page = create(Builder('content page'))

        self.assertFalse(IAuthority.providedBy(page),
                         '{0} is marked for listings'.format(page))
    def test_authority_marker_is_not_set_if_checkbox_is_false(self):
        page = create(Builder('content page'))
        page.Schema()['mark_as_authority'].set(page, False)

        self.assertFalse(IAuthority.providedBy(page),
                         '{0} is marked for listings'.format(page))