diff --git a/rattail/tests/importing/test_sqlalchemy.py b/rattail/tests/importing/test_sqlalchemy.py index 6500f96af8785c61e7445542e6d4b0f4d58cf6ff..b76a846d8a5b11a485a065908702539ca0335ada 100644 --- a/rattail/tests/importing/test_sqlalchemy.py +++ b/rattail/tests/importing/test_sqlalchemy.py @@ -144,7 +144,7 @@ class TestToSQLAlchemy(TestCase): # TODO: lame def test_flush_session(self): - importer = self.make_importer(fields=['id'], session=self.session, flush_session=True) + importer = self.make_importer(fields=['id'], key='id', session=self.session, flush_session=True) widget = Widget() widget.id = 1 widget, original = importer.update_object(widget, {'id': 1}), widget