fix test
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 9 Aug 2012 14:10:22 +0000 (16:10 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 9 Aug 2012 14:10:22 +0000 (16:10 +0200)
apps/oai/tests/oaipmhapi.py

index 08925f9..e567862 100644 (file)
@@ -26,7 +26,7 @@ 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):
-        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')
                                  metadataPrefix='oai_dc')
         etree.dump(sch.getroot())
         sch = self.xml.listRecords(metadataPrefix='oai_dc')