5 from catalogue.test_utils import WLTestCase
6 from catalogue import models
7 from nose.tools import raises
9 from oai.handlers import Catalogue
11 class BookMetadataTest(WLTestCase):
13 super(BookMetadata, self).setUp()
14 xml = path.join(path.dirname(__file__), 'files/lubie-kiedy-kobieta.xml')
15 self.book = models.Book.from_xml_file(xml)
16 self.catalogue = Catalogue()
18 def test_get_record(self):
19 r = self.catalogue.getRecord(record='lubie-kiedy-kobieta')