'Add page under slave_home and check its flag'

def test_moderator_flags(self):

    page = create_page('page', 'nav_playground.html', 'en', parent=self.slave_page)
    self.assertIsNone(page.publisher_public)
    self.assertFalse(page.publisher_public_id)
    page = publish_page(page, self.user_slave, 'en')
    self.assertFalse(page.publisher_public)
    self.assertEqual(page.get_publisher_state('en'), PUBLISHER_STATE_PENDING)
    self.slave_page = self.slave_page.reload()
    slave_page = publish_page(self.slave_page, self.user_master, 'en')
    self.assertFalse(page.publisher_public)
    self.assertTrue(slave_page.publisher_public)
