CLIMATE-448 update the backend unittest for 
test_local_file_metadata_extractors.py


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

Branch: refs/heads/master
Commit: 866c1611f808087356a165c6272544d473753e91
Parents: 32d648b
Author: Maziyar Boustani <[email protected]>
Authored: Thu May 29 13:37:21 2014 -0700
Committer: Maziyar Boustani <[email protected]>
Committed: Thu May 29 13:37:21 2014 -0700

----------------------------------------------------------------------
 ocw-ui/backend/tests/test_local_file_metadata_extractors.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/866c1611/ocw-ui/backend/tests/test_local_file_metadata_extractors.py
----------------------------------------------------------------------
diff --git a/ocw-ui/backend/tests/test_local_file_metadata_extractors.py 
b/ocw-ui/backend/tests/test_local_file_metadata_extractors.py
index f204fdb..2e469dd 100644
--- a/ocw-ui/backend/tests/test_local_file_metadata_extractors.py
+++ b/ocw-ui/backend/tests/test_local_file_metadata_extractors.py
@@ -105,8 +105,8 @@ class TestTimeExtraction(unittest.TestCase):
         expected_return = {
             "success": True,
             "time_name": "time",
-            "start_time": "1988-06-10 00:00:00",
-            "end_time": "2008-01-27 00:00:00"
+            "start_time": "1989-01-01 00:00:00",
+            "end_time": "2008-12-01 00:00:00"
         }
 
         file_location = os.path.abspath('tests/example_data/lat_lon_time.nc')
@@ -119,8 +119,8 @@ class TestTimeExtraction(unittest.TestCase):
                expected_return = {
                        "success": True,
                        "time_name": "time",
-                       "start_time": "1988-06-10 00:00:00",
-                       "end_time": "2008-01-27 00:00:00"
+                       "start_time": "1989-01-01 00:00:00",
+                       "end_time": "2008-12-01 00:00:00"
                }
 
         file_location = os.path.abspath('tests/example_data/lat_lon_time.nc')

Reply via email to