def test_edit(self, app, model):
        existing = model.create({'title': "Temp Title"})

        with app.test_client() as c:
            rv = c.post(
                '/books/%s/edit' % existing['id'],
                data={'title': 'Updated Title'},
                follow_redirects=True)

        assert rv.status == '200 OK'
        body = rv.data.decode('utf-8')
        assert 'Updated Title' in body
        assert body not in 'Temp Title'
dataset/ETHPy150Open GoogleCloudPlatform/getting-started-python/2-structured-data/tests/test_crud.py/TestCrudActions.test_edit/swapped operands of `not in`