You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/08/20 18:57:55 UTC

[7/9] allura git commit: [#7970] fix a urlopen test that was missed

[#7970] fix a urlopen test that was missed


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/1cb99fab
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/1cb99fab
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/1cb99fab

Branch: refs/heads/hs/7963
Commit: 1cb99fabb11ef13993390bd59fa5a4e886e3c336
Parents: 644a298
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Tue Aug 18 23:43:26 2015 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Tue Aug 18 23:43:26 2015 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/tests/test_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/1cb99fab/ForgeImporters/forgeimporters/tests/test_base.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/tests/test_base.py b/ForgeImporters/forgeimporters/tests/test_base.py
index 22844a0..e617edd 100644
--- a/ForgeImporters/forgeimporters/tests/test_base.py
+++ b/ForgeImporters/forgeimporters/tests/test_base.py
@@ -41,7 +41,7 @@ class TestProjectExtractor(TestCase):
         req = Request.return_value
         req.add_header.assert_called_once_with(
             'User-Agent', 'Allura Data Importer (https://allura.apache.org/)')
-        urlopen.assert_called_once_with(req, retries=3, codes=(408,))
+        urlopen.assert_called_once_with(req, retries=3, codes=(408, 500, 502, 503, 504))
         self.assertEqual(r, urlopen.return_value)