summaryrefslogtreecommitdiffstats
path: root/apex/tests/test_apex_common_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'apex/tests/test_apex_common_utils.py')
-rw-r--r--apex/tests/test_apex_common_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/tests/test_apex_common_utils.py b/apex/tests/test_apex_common_utils.py
index 412d6f49..4c250117 100644
--- a/apex/tests/test_apex_common_utils.py
+++ b/apex/tests/test_apex_common_utils.py
@@ -135,7 +135,7 @@ class TestCommonUtils:
assert output is not None
def test_open_invalid_webpage(self):
- assert_raises(urllib.request.URLError, utils.open_webpage,
+ assert_raises(exceptions.FetchException, utils.open_webpage,
'http://inv4lIdweb-page.com')
@patch('builtins.open', a_mock_open)