def test_root_endpoint(self): """Assert that the / endpoint correctly redirects to login.uber.com.""" response = app.test_client().get('/') self.assertIn('login.uber.com', response.data)