def testPeriodical(self): p = Periodical() p.title = "Periodical title" p.issn = "1234-4321" p.publisher = "Periodical publisher" p.shortTitle = "pertitle" self.assertEqual(5, len(self.graph)) self.assertEqual('http://localhost:5000/serials/pertitle', p.locUrl)
a9 = Article('<tag:barry-schwabsky-on-groys,2009-04-25>') a9.creators = ["Barry Schwabsky"] a9.title = "Barry Schwabsky on Groys, Art Power" a9.abstract = "Essays on aesthetics and politics, founded on the disconcerting insights of late-Soviet conceptualism." a9.issue = nlr56 a9.reviewOf = [groys2008] ##################### # SAMPOL 16(04) # ##################### sampol = Periodical('<urn:issn:1372-0740>') sampol.title = "Samenleving en Politiek" sampol.issn = "1372-0740" sampol.publisher = "Stichting Gerrit Kreveld" sampol.shortTitle = "sampol" sampol.homepage = URIRef("http://stichtinggerritkreveld.be.res7.mijnpreview.com/ECMS_CLIENT_SGK/pages/showpage.php?id=13") sampol16_4 = Issue('<tag:sampol-issue-16-04,2009-04-26>') sampol16_4.number = 4 sampol16_4.volume = 16 sampol16_4.pubdate = "2009-04-01" sampol16_4.title = "Samenleving & Poltiek jaargang 16, 2009, nr.4 (april)" sampol16_4.periodical = sampol a21 = Article("<tag:wie-op-de-rem-staat,2009-04-25>") a21.title = "Wie op de rem staat, geraakt niet vooruit" a21.label = "Edito" a21.creators = ["Jan de Zutter"]