okfn/bibserver — Issue #133: Test Importer error
Author: markmacgillivray
Created: 2011-11-30 15:09:31+00:00
State: open

The Test_importer is causing an error at line 46. It attempts to check that after a second upload of the same collection of one record, only one record exists. But the response shows two records existing. It seems that the test apparatus is failing to delete the records when the import is carried out.

This should be done by importer.py in the index method (line 133). It does seem to work fine when uploading via the frontend, so there may be a problem with the test implementation.