Test suite for checking the read-write of a document index.
Implementers should subclass this test suite and provide a fixture that returns an empty index for each test.
DocumentIndexerTestSuite()Get the index.
Verify that there is no parameter called IDs in upsert.
Upsert works with documents that do not have IDs.
At the moment, the ID field in documents is optional.
Test an upsert where some docs have IDs and some don't.
Test that upsert overwrites existing content.
Verify that we can delete docs that aren't there.
Test deletion of content has appropriate semantics.
Test that we can delete several documents at once.
Test delete with no args raises ValueError.
Deleting missing content should not raise an exception.
Test get with missing IDs.
Test get by IDs with missing IDs.