Skip to content

Commit

Permalink
Our test that looks for bundled assets sometimes fails because the
Browse files Browse the repository at this point in the history
test can't find anything on disk. Fixed.
  • Loading branch information
Matt Phillips committed Jun 17, 2014
1 parent be65f97 commit 080da26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions perma_web/perma/tests/test_views_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,12 @@ def test_link_status(self):
def test_link_assets(self):
"""
make sure we get a download with a zip from our
asssets bundler service
assets bundler service
"""

guid = '7CF8-SS4G'

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

self.assertEquals(
response.get('Content-Disposition'),
Expand Down
3 changes: 2 additions & 1 deletion perma_web/perma/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@


class PermaTestCase(TestCase):
fixtures = ['fixtures/groups.json','fixtures/users.json', 'fixtures/archive.json']
fixtures = ['fixtures/groups.json','fixtures/users.json',
'fixtures/archive.json']

def setUp(self):
registrar = Registrar(name='Test Registrar', email='registrar@test.com', website='http://testregistrar.com')
Expand Down

0 comments on commit 080da26

Please sign in to comment.