fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3393: sponsor logo on picture viewer page.
[wolnelektury.git]
/
apps
/
oai
/
tests
/
oaipmhapi.py
diff --git
a/apps/oai/tests/oaipmhapi.py
b/apps/oai/tests/oaipmhapi.py
index
15f3ff3
..
db57bc1
100644
(file)
--- a/
apps/oai/tests/oaipmhapi.py
+++ b/
apps/oai/tests/oaipmhapi.py
@@
-4,7
+4,6
@@
#
from catalogue.test_utils import WLTestCase
from catalogue import models
#
from catalogue.test_utils import WLTestCase
from catalogue import models
-from nose.tools import raises
from oai.handlers import *
from oaipmh.server import *
from os import path
from oai.handlers import *
from oaipmh.server import *
from os import path
@@
-29,9
+28,9
@@
class BookMetadataTest(WLTestCase):
self.xml = XMLTreeServer(self.catalogue, mr, nsmap)
def test_get_record(self):
self.xml = XMLTreeServer(self.catalogue, mr, nsmap)
def test_get_record(self):
- s
ch = s
elf.xml.getRecord(identifier='lubie-kiedy-kobieta',
+ self.xml.getRecord(identifier='lubie-kiedy-kobieta',
metadataPrefix='oai_dc')
metadataPrefix='oai_dc')
- s
ch = s
elf.xml.listRecords(metadataPrefix='oai_dc')
+ self.xml.listRecords(metadataPrefix='oai_dc')
def test_selecting(self):
records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'})
def test_selecting(self):
records, token = self.catalogue.listRecords(**{'set': 'epoch:starozytnosc'})