Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update test to reflect removed code

  • Loading branch information...
commit dfd8d97f7d876d856716fbff049f31eccee909a3 1 parent 41ceb58
@whitmo whitmo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/test_views.py
View
3  tests/test_views.py
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.