Repository: climate
Updated Branches:
  refs/heads/master 05519e16c -> 5c195a139


CLIMATE-830 Reverting the broken test case in test_dap.py


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/8e38ccfb
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/8e38ccfb
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/8e38ccfb

Branch: refs/heads/master
Commit: 8e38ccfb0ef18a2a6685f296acf06a9363e9ae0d
Parents: 05519e1
Author: Omkar20895 <omkarreddy2...@gmail.com>
Authored: Mon Aug 15 17:10:37 2016 +0530
Committer: Omkar20895 <omkarreddy2...@gmail.com>
Committed: Mon Aug 15 17:10:37 2016 +0530

----------------------------------------------------------------------
 ocw/tests/test_dap.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/8e38ccfb/ocw/tests/test_dap.py
----------------------------------------------------------------------
diff --git a/ocw/tests/test_dap.py b/ocw/tests/test_dap.py
index a895a27..6ae7546 100644
--- a/ocw/tests/test_dap.py
+++ b/ocw/tests/test_dap.py
@@ -30,6 +30,7 @@ class TestDap(unittest.TestCase):
         cls.name = 'foo'
         cls.dataset = dap.load(cls.url, 'CGusfc', name=cls.name)
 
+        '''
         # The tests fail for this dataset since the dataset does not have a 
time(1D) variable.
         # The tests fail because dap.py assumes that the openDAP datasets 
necessarily have the 
         # three variables 1D variables lat, lon and time and the lines 53,54 
and 55 are written
@@ -37,7 +38,7 @@ class TestDap(unittest.TestCase):
         cls.url2 = 'http://opendap-uat.jpl.nasa.gov/opendap/GeodeticsGravity/'\
                    
'tellus/L3/mascon/RL05/JPL/CRI/netcdf/CLM4.SCALE_FACTOR.JPL.MSCNv01CRIv01.nc'
         cls.name2 = 'foo2'
-        cls.dataset2 = dap.load(cls.url2, 'scale_factor', name=cls.name)
+        cls.dataset2 = dap.load(cls.url2, 'scale_factor', name=cls.name)'''
 
     def test_dataset_is_returned(self):
         self.assertTrue(isinstance(self.dataset, Dataset))

Reply via email to