Permalink
Browse files

oops

  • Loading branch information...
mattbasta committed Jan 7, 2013
1 parent 3436672 commit 31b3caf7771790b57ecbf05130598cb3804aaa65
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/test_webapp_resources.py
@@ -111,9 +111,7 @@ def test_TooManyRedirects(self):
self.assert_failed(with_errors=True)
@mock_requests(reqexc.TooManyRedirects, "Duplicate error")
- def test_not_duplicated(self, r_g):
- r_g.side_effect = reqexc.Timeout
-
+ def test_not_duplicated(self):
appbase.try_get_resource(self.err, None, "http://foo.bar/", "")
self.assert_failed(with_errors=True)
appbase.try_get_resource(self.err, None, "http://foo.bar/", "")

0 comments on commit 31b3caf

Please sign in to comment.