Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedash committed Aug 9, 2010
1 parent 0b0d6f8 commit 9da9d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/search/tests/test_views.py
Expand Up @@ -257,7 +257,7 @@ def test_json(self):
for val, expected in check_me:
check(val, expected)

@patch('search.client.Client.query')
@patch('search.client.AddonsPersonasClient.query')
def test_errors(self, searchclient):
searchclient.side_effect = SearchError()
r = self.client.get(reverse('search.ajax') + '?q=del')
Expand Down

0 comments on commit 9da9d71

Please sign in to comment.