File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
lib/bald/tests/integration Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,24 @@ def test_ereefs_gbr4_ncld(self):
50
50
51
51
52
52
def test_ProcessChain0300 (self ):
53
- """Override multi_array test with currently accepted failures"""
53
+ """Override ProcessChain 0300 test with currently accepted failures"""
54
54
self .assertTrue (True )
55
55
56
56
setattr (Test , 'test_ProcessChain0300' , test_ProcessChain0300 )
57
+
58
+
59
+ def test_grid_OISST_GHRSST (self ):
60
+ """Override grid OISST GHRSST test with currently accepted failures"""
61
+ with self .temp_filename ('.nc' ) as tfile :
62
+ cdl_file = os .path .join (self .cdl_path , 'grid_OISST_GHRSST.cdl' )
63
+ subprocess .check_call (['ncgen' , '-o' , tfile , cdl_file ])
64
+ validation = bald .validate_netcdf (tfile )
65
+ exns = validation .exceptions ()
66
+ exns .sort ()
67
+ expected = ['http://www.ncdc.noaa.gov/sst is not resolving as a resource (404).' ,
68
+ 'http://www.ncdc.noaa.gov/sst/ is not resolving as a resource (404).' ]
69
+ expected .sort ()
70
+ self .assertTrue (not validation .is_valid () and exns == expected ,
71
+ msg = '{} \n != \n {}' .format (exns , expected ))
72
+
73
+ setattr (Test , 'test_grid_OISST_GHRSST' , test_grid_OISST_GHRSST )
You can’t perform that action at this time.
0 commit comments