climate-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Anderson (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLIMATE-787) Create mock objects for test_local.py
Date Sat, 24 Feb 2018 10:45:00 GMT

     [ https://issues.apache.org/jira/browse/CLIMATE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Anderson reassigned CLIMATE-787:
----------------------------------------

    Assignee: Michael Anderson

> Create mock objects for test_local.py
> -------------------------------------
>
>                 Key: CLIMATE-787
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-787
>             Project: Apache Open Climate Workbench
>          Issue Type: Test
>          Components: tests
>            Reporter: Ibrahim Jarif
>            Assignee: Michael Anderson
>            Priority: Major
>             Fix For: 1.3.0
>
>
> The current *test_local.py* file tests does not cover the following functions in *local.py*:
> # {code}load_WRF_2d_files(){code}
> # {code}load_dataset_from_multiple_netcdf_files(){code}
> # {code}load_NLDAS_forcingA_files(){code}
> # {code}load_GPM_IMERG_files(){code}
> To test these functions, necessary datasets are required. Downloading the dataset from
the internet everytime the tests execute is not an efficient strategy.
> Hence, create mock datasets and objects that can be used to test these functions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message