We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d39a426 commit f1c0229Copy full SHA for f1c0229
geospaas/tests.py
@@ -6,13 +6,6 @@
6
from geospaas.utils import utils
7
8
class TestUtils(TestCase):
9
- @patch('urllib3.PoolManager')
10
- def test_validate_uri_opendap_does_not_exist(self, mock_PoolManager):
11
- uri = 'http://www.ifremer.fr'
12
- mock_PoolManager.status=1
13
- with self.assertRaises(OSError) as cm:
14
- utils.validate_uri(uri)
15
- self.assertEqual('NetCDF: file not found', cm.exception.args[1])
16
17
@patch('geospaas.utils.utils.os.path.isfile')
18
def test_validate_uri_local(self, mock_isfile):
0 commit comments