revert augmentation of ocw/tests/test_podaac.py
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/6156eff0 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/6156eff0 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/6156eff0 Branch: refs/heads/master Commit: 6156eff08b11f92acbfee0ca5be5d78e473483c6 Parents: e7e61d2 Author: Lewis John McGibbney <lewis.mcgibb...@gmail.com> Authored: Thu Nov 10 09:08:00 2016 -0800 Committer: Lewis John McGibbney <lewis.mcgibb...@gmail.com> Committed: Thu Nov 10 09:08:00 2016 -0800 ---------------------------------------------------------------------- ocw/tests/test_podaac.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/6156eff0/ocw/tests/test_podaac.py ---------------------------------------------------------------------- diff --git a/ocw/tests/test_podaac.py b/ocw/tests/test_podaac.py index de25aa2..89bc143 100644 --- a/ocw/tests/test_podaac.py +++ b/ocw/tests/test_podaac.py @@ -32,17 +32,8 @@ class TestPodaacDataSource(unittest.TestCase): cls.name = 'PO.DAAC_test_dataset' cls.file_path = os.path.dirname(os.path.abspath(__file__)) cls.format = '.nc' - ''' - The following exception handling should be removed once the opendap servers - are working fine. The following code was added to fix the build temporarily - More information - https://github.com/apache/climate/pull/419 - ''' - try: - cls.dataset = podaac.load_level4_granule( - cls.variable, cls.datasetId, cls.name) - # The tests will be skipped if any exception is raised - except Exception as e: - raise unittest.SkipTest(e) + cls.dataset = podaac.load_level4_granule( + cls.variable, cls.datasetId, cls.name) #Until we can retrieve the subset data download link programmatically, #we will need to skip this test. More information can be see at #https://podaac.jpl.nasa.gov/forum/viewtopic.php?f=53&t=424&p=790