Permalink
Browse files

update test to reflect removed code

  • Loading branch information...
whitmo committed Sep 14, 2012
1 parent 41ceb58 commit dfd8d97f7d876d856716fbff049f31eccee909a3
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/test_views.py
View
@@ -205,7 +205,7 @@ def package_request(self, pd, td=None):
return request
def test_index_view(self):
- from cheeseprism.views import homepage as index
+ from cheeseprism.views import upload as index
request = testing.DummyRequest()
assert index(App(request), request) == {}
@@ -238,6 +238,7 @@ def test_upload_raises(self):
from cheeseprism.views import upload
context, request = self.base_cr
request.POST['content'] = ''
+ request.method = 'POST'
upload(context, request)
def setup_event(self):

0 comments on commit dfd8d97

Please sign in to comment.