def test_update_edition(self):
     editions = update_work.update_edition({
         'key': '/books/OL23M',
         'type': {
             'key': '/type/edition'
         }
     })
     assert editions == [], "Editions are not indexed by Solr, expecting empty set regardless of input. Got: %s" % editions
Example #2
0
 def test_update_edition(self):
     editions = update_work.update_edition({'key': '/books/OL23M', 'type': {'key': '/type/edition'}})
     assert editions == [], "Editions are not indexed by Solr, expecting empty set regardless of input. Got: %s" % editions