fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use oai: identifiers
[wolnelektury.git]
/
apps
/
oai
/
tests
/
oaipmhapi.py
diff --git
a/apps/oai/tests/oaipmhapi.py
b/apps/oai/tests/oaipmhapi.py
index
e567862
..
6ef3b09
100644
(file)
--- 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')
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')
sch = self.xml.listRecords(metadataPrefix='oai_dc')
- etree.dump(sch.getroot())
def test_selecting(self):
records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'})
def test_selecting(self):
records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'})
- print records