def create_instance(self):
     return EventFactory()
예제 #2
0
 def setUp(self):
     self.event = EventFactory.build(name=u'Yac 2012')
예제 #3
0
 def test_get_absolute_url(self, client):
     factory = EventFactory()
     response = client.get(factory.get_absolute_url())
     assert response.status_code == 200
예제 #4
0
 def setUp(self):
     self.event = EventFactory.build(name=u'Yac 2012')