X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fe177037495a25bc50ec13b7817545cf869853f7..c661073dd0969caa9a47a225f3d3fae767295c3d:/apps/oai/tests/oaipmhapi.py?ds=sidebyside diff --git a/apps/oai/tests/oaipmhapi.py b/apps/oai/tests/oaipmhapi.py index 08925f904..6ef3b096c 100644 --- a/apps/oai/tests/oaipmhapi.py +++ b/apps/oai/tests/oaipmhapi.py @@ -26,12 +26,9 @@ 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') - etree.dump(sch.getroot()) def test_selecting(self): records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'}) - print records