Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/tests/testMemberAuthorReferences.py   Products.CMFBibliographyAT(Download)
        article = self.setAuthorsFromMemberReferences(bibref_item=article, member_items=[simpletestuser])
 
        self.failUnlessEqual(article.Authors(format='%F %L'),
                             'Firstname Lastname')
        self.failUnlessEqual(article.Authors(format='%L, %F'),
                             'Lastname, Firstname')
 
        article = self.setAuthorsFromMemberReferences(bibref_item=article,
                                                      member_items=[testuser])
        self.failUnlessEqual(article.Authors(format='%F %M %L'),
        self.failUnlessEqual(article.Authors(format='%F %M %L'),
                             'First2 Middle2 Last2')
        self.failUnlessEqual(article.Authors(format='%L, %F %M'),
                             'Last2, First2 Middle2')
 
        article = self.setAuthorsFromMemberReferences(bibref_item=article,
                                                      member_items=[testuser, simpletestuser,])
        self.failUnlessEqual(article.Authors(format='%F %M %L'),

src/c/y/cyn.in-HEAD/products/Calendaring/tests/test_content.py   cyn.in(Download)
 
        item = self.items[0][1]
        self.failUnlessEqual(item.start_date, item.end_date)
 
class TestContentTypes(TestImportCalendar):

src/p/r/Products.Calendaring-0.5b1/Products/Calendaring/tests/test_content.py   Products.Calendaring(Download)
 
        item = self.items[0][1]
        self.failUnlessEqual(item.start_date, item.end_date)
 
class TestContentTypes(TestImportCalendar):