Beispiel #1
0
 def test_dodgy(self, report):
     data = {'pin': chr(1)}
     forms.CreatePinForm(uuid=self.uuid, data=data)
     finished.send(None, request_meta={}, request_path='/')
     assert report.called
 def test_dodgy(self, report):
     data = {'pin': chr(1)}
     forms.CreatePinForm(uuid=self.uuid, data=data)
     finished.send(None, request_meta={}, request_path='/')
     assert report.called
Beispiel #3
0
 def test_dodgy(self, report):
     data = {'pin': chr(1)}
     forms.CreatePinForm(uuid=self.uuid, data=data)
     finished.send(None, request=RequestFactory().get('/'))
     assert report.called