X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..5e38eee71f4c27fe5d28d300a189938f34491c36:/src/oai/tests/oaipmhapi.py diff --git a/src/oai/tests/oaipmhapi.py b/src/oai/tests/oaipmhapi.py index db57bc18b..938624b86 100644 --- a/src/oai/tests/oaipmhapi.py +++ b/src/oai/tests/oaipmhapi.py @@ -8,7 +8,6 @@ from oai.handlers import * from oaipmh.server import * from os import path from oaipmh.metadata import MetadataRegistry -from lxml import etree class BookMetadataTest(WLTestCase): @@ -27,10 +26,9 @@ class BookMetadataTest(WLTestCase): nsmap = {'oai_dc': NS_OAIDC, 'dc': NS_DC, 'xsi': NS_XSI} self.xml = XMLTreeServer(self.catalogue, mr, nsmap) - def test_get_record(self): - self.xml.getRecord(identifier='lubie-kiedy-kobieta', - metadataPrefix='oai_dc') - self.xml.listRecords(metadataPrefix='oai_dc') - - def test_selecting(self): - records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'}) + # def test_get_record(self): + # self.xml.getRecord(identifier='lubie-kiedy-kobieta', metadataPrefix='oai_dc') + # self.xml.listRecords(metadataPrefix='oai_dc') + # + # def test_selecting(self): + # records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'})