Skip to content

Commit

Permalink
Fixing a testcase broken by commit 9ab0a30
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmatos committed Apr 16, 2010
1 parent 22a3211 commit 2d921fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils_test.py
Expand Up @@ -53,7 +53,7 @@ def test_listing(self):
self.assertNotEqual(response.content.find('<a href="__init__.py">__init__.py</a>'), -1) self.assertNotEqual(response.content.find('<a href="__init__.py">__init__.py</a>'), -1)


def test_host_file(self): def test_host_file(self):
self.request.ENV['PATH_INFO'] = '/tests/utilstest.py' self.request.ENV['PATH_INFO'] = '/tests/utils_test.py'
response = utils.fileserver(self.request) response = utils.fileserver(self.request)
self.assertEqual(response.status_code, '200 OK') self.assertEqual(response.status_code, '200 OK')
for header in ['Last-Modified', 'Content-Length']: for header in ['Last-Modified', 'Content-Length']:
Expand Down

0 comments on commit 2d921fa

Please sign in to comment.