def test_logged_in(self, client_with_credentials):
        with client_with_credentials() as c:
            rv = c.get('/books/')

        assert rv.status == '200 OK'
        body = rv.data.decode('utf-8')
        assert 'Test User' in body
dataset/ETHPy150Open GoogleCloudPlatform/getting-started-python/4-auth/tests/test_auth.py/TestAuth.test_logged_in/original