def test_add(self, app):
        data = {
            'title': 'Test Book',
            'author': 'Test Author',
            'publishedDate': 'Test Date Published',
            'description': 'Test Description'
        }

        with app.test_client() 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 'Test Author' in body
        assert 'Test Date Published' in body
        assert 'Test Description' in body
dataset/ETHPy150Open GoogleCloudPlatform/getting-started-python/2-structured-data/tests/test_crud.py/TestCrudActions.test_add/swapped operands of `in`