Skip to content

Commit

Permalink
fix mock deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Jun 13, 2011
1 parent 6475ee4 commit 3982943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def test_bounce(self):
eq_(res['X-SENDFILE'],
self.file_viewer.get_files().get(binary)['full'])

@patch_object(settings._wrapped, 'FILE_VIEWER_SIZE_LIMIT', 5)
@patch.object(settings._wrapped, 'FILE_VIEWER_SIZE_LIMIT', 5)
def test_file_size(self):
self.file_viewer.extract()
res = self.client.get(self.file_url(not_binary))
Expand Down

0 comments on commit 3982943

Please sign in to comment.