'Requests for invalid scopes throw errors.'

def test_error_for_invalid_scopes(self):

    self._auth()
    self.oauth_page.scopes = ('email', 'does-not-exist')
    assert self.oauth_page.visit()
    self.assertTrue(self.oauth_page.has_error)
    self.assertIn('not    a    valid    scope', self.oauth_page.error_message)
