From 8ecec5a9adaabedca9ad47a8f37b79a92f364c2c 2016-06-01 22:22:18 From: Lance Edgar Date: 2016-06-01 22:22:18 Subject: [PATCH] Fix broken test --- 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