def test_add_logged_in(self, client_with_credentials):
        data = {
            'title': 'Test Book',
        }

        with client_with_credentials() as c:
            rv = c.post('/books/add', data=data, follow_redirects=True)

        assert rv.status == '200 OK'
        body = rv.data.decode('utf-8')
        assert body in 'Test Book'
        assert 'Added by Test User' in body
dataset/ETHPy150Open GoogleCloudPlatform/getting-started-python/4-auth/tests/test_auth.py/TestAuth.test_add_logged_in/swapped operands of `in`