diff --git a/src/crate/client/sqlalchemy/tests/dict_test.py b/src/crate/client/sqlalchemy/tests/dict_test.py index dbec0eef..7db3f3d1 100644 --- a/src/crate/client/sqlalchemy/tests/dict_test.py +++ b/src/crate/client/sqlalchemy/tests/dict_test.py @@ -98,9 +98,7 @@ def test_update_with_dict_column(self): mytable = self.mytable stmt = mytable.update().\ where(mytable.c.name == 'Arthur Dent').\ - values({ - "data['x']": "Trillian" - }) + values({mytable.c.data['x']: "Trillian"}) self.assertSQL( "UPDATE mytable SET data['x'] = ? WHERE mytable.name = ?", stmt