示例#1
0
 def test_get(self):
     """Test fix get"""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'GFDL-CM2P1', 'OImon', 'sit'),
         [Sit(self.var_info_mock), AllVars(None)])
示例#2
0
 def test_get(self):
     """Test fix get"""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'GFDL-CM2P1', 'fx', 'sftof'),
         [Sftof(None), AllVars(None)])
示例#3
0
 def test_get(self):
     """Test fix get"""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'GFDL-CM2P1', 'Amon', 'areacello'),
         [Areacello(self.vardef),
          AllVars(self.vardef)])
示例#4
0
 def test_get(self):
     """Test getting of fix."""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'GFDL-CM2P1', 'Amon', 'cl'),
         [Cl(None), AllVars(None)])