예제 #1
0
파일: __init__.py 프로젝트: NoyaInRain/wall
 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
예제 #2
0
파일: __init__.py 프로젝트: krmnn/wall
 def setUp(self):
     super(ImagePostTest, self).setUp()
     CommonPostTest.setUp(self)
     self.post_type = ImagePost
     self.create_args = {'url': 'https://welcome.b5/logo.png'}
예제 #3
0
파일: __init__.py 프로젝트: krmnn/wall
 def setUp(self):
     super(TextPostTest, self).setUp()
     CommonPostTest.setUp(self)
     self.post_type = TextPost
     self.create_args = {'content': 'Babylon 5'}