Exemple #1
0
 def setUp(self):
     super(GridPostTest, self).setUp()
     CommonPostTest.setUp(self)
     CommonCollectionTest.setUp(self)
     self.post_type = GridPost
     self.create_args = {}
     self.post = self.app.post_new('GridPost')
     self.collection = self.post
Exemple #2
0
 def setUp(self):
     super(ImagePostTest, self).setUp()
     CommonPostTest.setUp(self)
     self.post_type = ImagePost
     self.create_args = {'url': 'https://welcome.b5/logo.png'}
Exemple #3
0
 def setUp(self):
     super(TextPostTest, self).setUp()
     CommonPostTest.setUp(self)
     self.post_type = TextPost
     self.create_args = {'content': 'Babylon 5'}