From: Marcin Koziej Date: Thu, 9 Aug 2012 14:26:11 +0000 (+0200) Subject: lxml.etree.dump would like to have a terminal X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/46085cc5f0fe3cbac5243fe37cf7c29513190068?ds=sidebyside lxml.etree.dump would like to have a terminal --- diff --git a/apps/oai/tests/oaipmhapi.py b/apps/oai/tests/oaipmhapi.py index e56786232..6ef3b096c 100644 --- a/apps/oai/tests/oaipmhapi.py +++ b/apps/oai/tests/oaipmhapi.py @@ -28,10 +28,7 @@ class BookMetadataTest(WLTestCase): def test_get_record(self): 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