From 3d85857ea1a1bf96d7c8a7ba092fab8503d5133a 2020-07-19 20:11:14 From: Lance Edgar Date: 2020-07-19 20:11:14 Subject: [PATCH] Fix a test per recent importer change --- diff --git a/rattail/tests/importing/test_importers.py b/rattail/tests/importing/test_importers.py index 52db2d87196487e0510a4c8afdf9cd805988eac5..7b6f9d9a906700fbe22545bcf5461c20fcd02ac9 100644 --- a/rattail/tests/importing/test_importers.py +++ b/rattail/tests/importing/test_importers.py @@ -190,7 +190,12 @@ class TestImporter(TestCase): keys = importer.get_deletion_keys() self.assertEqual(keys, set()) - importer.cached_local_data = {'delete-me': object()} + importer.cached_local_data = { + 'delete-me': { + 'object': object(), + 'data': {}, + }, + } keys = importer.get_deletion_keys() self.assertEqual(keys, set(['delete-me']))