Skip to content

Commit 4df0986

Browse files
author
azamifard
committed
#154 remove incorrect test
1 parent c69aca7 commit 4df0986

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

geospaas/tests.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@
77

88
class TestUtils(TestCase):
99

10-
def test_validate_uri_opendap_does_not_exist(self):
11-
uri = 'http://www.ifremer.fr/opendap/cerdap1/globcurrent/' \
12-
'v2.0/global_012_deg/geostrophic/2014/001/' \
13-
'20140101000000-GLOBCURRENT-L4-CURgeo_0m-ALT_OI-v02.0-fv01.0.nc.tull'
14-
with self.assertRaises(OSError) as cm:
15-
utils.validate_uri(uri)
16-
self.assertEqual('NetCDF: file not found', cm.exception.args[1])
17-
1810
@patch('geospaas.utils.utils.os.path.isfile')
1911
def test_validate_uri_local(self, mock_isfile):
2012
mock_isfile.return_value = True

0 commit comments

Comments
 (0)