Changeset - 3d85857ea1a1
[Not reviewed]
0 1 0
Lance Edgar (lance) - 4 years ago 2020-07-19 20:11:14
lance@edbob.org
Fix a test per recent importer change
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rattail/tests/importing/test_importers.py
Show inline comments
 
@@ -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']))
 

	
0 comments (0 inline, 0 general)