From: Marcin Koziej Date: Thu, 9 Aug 2012 14:10:22 +0000 (+0200) Subject: fix test X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/010d715dad6709bf4f67e3b04e3f669fed45bb56?ds=sidebyside fix test --- diff --git a/apps/oai/tests/oaipmhapi.py b/apps/oai/tests/oaipmhapi.py index 08925f904..e56786232 100644 --- a/apps/oai/tests/oaipmhapi.py +++ b/apps/oai/tests/oaipmhapi.py @@ -26,7 +26,7 @@ class BookMetadataTest(WLTestCase): self.xml = XMLTreeServer(self.catalogue, mr, nsmap) def test_get_record(self): - sch = self.xml.getRecord(record='lubie-kiedy-kobieta', + sch = self.xml.getRecord(identifier='lubie-kiedy-kobieta', metadataPrefix='oai_dc') etree.dump(sch.getroot()) sch = self.xml.listRecords(metadataPrefix='oai_dc')