def testBrandingWithoutLinkAndTitle(self): branding = OaiBranding(url="http://example.org/icon.png") description = ''.join(compose(branding.description())) self.assertEqualsWS(BRANDING_RESULT_URL, description)
def testOne(self): branding = OaiBranding(url="http://example.org/icon.png", link="http://www.example.org", title="Example") description = ''.join(compose(branding.description())) self.assertEqualsWS(BRANDING_RESULT, description)