예제 #1
0
 def test_invalid_form(self):
     request = self.factory.post('/', BLANK_EXTERNALS)
     request.user = AnonymousUser()
     request.development = development_mock
     response = views.add_submission(request, self.ideation)
     eq_(response.status_code, 200)
예제 #2
0
 def test_invalid_form(self):
     request = self.factory.post('/', BLANK_EXTERNALS)
     request.user = AnonymousUser()
     request.development = development_mock
     response = views.add_submission(request, self.ideation)
     eq_(response.status_code, 200)
예제 #3
0
 def test_add_submission_get(self):
     request = self.factory.get('/')
     request.user = AnonymousUser()
     request.development = development_mock
     response = views.add_submission(request, self.ideation)
     eq_(response.status_code, 200)
예제 #4
0
 def test_add_submission_get(self):
     request = self.factory.get('/')
     request.user = AnonymousUser()
     request.development = development_mock
     response = views.add_submission(request, self.ideation)
     eq_(response.status_code, 200)