Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/i/cirb.blog-1.0a3/cirb/blog/tests/test_blogview.py   cirb.blog(Download)
    def test_update(self):
        #check update can be called multiple time
        self.blogview.update()
        self.blogview.update()
        self.assertEqual(self.blogview.truncate_length, '1001')
        self.assertEqual(len(self.blogview.articles), 2)