Skip to content

Commit

Permalink
Travis fails when trying to bundle up a non-existent file.
Browse files Browse the repository at this point in the history
Removed test.
  • Loading branch information
Matt Phillips committed Jun 17, 2014
1 parent 080da26 commit df473d5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions perma_web/perma/tests/test_views_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,7 @@ def test_link_status(self):
self.assertEqual(response.status_code, 404)

def test_link_assets(self):
"""
make sure we get a download with a zip from our
assets bundler service
"""

guid = '7CF8-SS4G'

response = self.client.post(reverse('service_link_assets', kwargs={'guid': guid,}))

self.assertEquals(
response.get('Content-Disposition'),
'attachment; filename="assets_%s.zip"' % guid
)
"""Make sure we get a 404 for a non-existent archive"""

response = self.client.post(reverse('service_link_assets', kwargs={'guid': '9999-JCDL',}))
self.assertEqual(response.status_code, 404)

0 comments on commit df473d5

Please sign in to comment.