def testPageStatesUserAgentType(self):
    self.assertUserAgentSetCorrectly(shared_page_state.SharedMobilePageState, 'mobile')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedDesktopPageState, 'desktop')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedTabletPageState, 'tablet')
    self.assertUserAgentSetCorrectly(shared_page_state.Shared10InchTabletPageState, 'tablet_10_inch')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedPageState, None)
def testPageStatesUserAgentType(self):
    self.assertUserAgentSetCorrectly(shared_page_state.SharedMobilePageState, 'mobile')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedDesktopPageState, 'desktop')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedTabletPageState, 'tablet')
    self.assertUserAgentSetCorrectly(shared_page_state.Shared10InchTabletPageState, 'tablet_10_inch')
    self.assertUserAgentSetCorrectly(shared_page_state.SharedPageState, None)