{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/iris/issues/2037","repository_url":"https://api.github.com/repos/SciTools/iris","labels_url":"https://api.github.com/repos/SciTools/iris/issues/2037/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/2037/comments","events_url":"https://api.github.com/repos/SciTools/iris/issues/2037/events","html_url":"https://github.com/SciTools/iris/pull/2037","id":158158544,"number":2037,"title":"IrisTest method subclass specialisation.","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SciTools/iris/milestones/14","html_url":"https://github.com/SciTools/iris/milestones/v1.10","labels_url":"https://api.github.com/repos/SciTools/iris/milestones/14/labels","id":1426195,"number":14,"title":"v1.10","description":"","creator":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":82,"state":"open","created_at":"2015-11-23T22:23:19Z","updated_at":"2016-06-02T15:01:27Z","due_on":"2016-06-05T23:00:00Z","closed_at":null},"comments":5,"created_at":"2016-06-02T14:42:45Z","updated_at":"2016-06-02T15:02:27Z","closed_at":"2016-06-02T15:01:27Z","pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/2037","html_url":"https://github.com/SciTools/iris/pull/2037","diff_url":"https://github.com/SciTools/iris/pull/2037.diff","patch_url":"https://github.com/SciTools/iris/pull/2037.patch"},"body":"This PR is to support [iris-grib](https://github.com/SciTools/iris-grib) testing.\r\n\r\nWe want the convenience to reuse all of the `iris.tests.IrisTest` behaviour but also to be able to point the `iris.tests._RESULT_PATH` to an iris-grib specific directory.\r\n\r\nThe problem is that `iris.tests.get_result_path` function (which uses `iris.tests._RESULT_PATH`) is local to that module, and also that this module level function is referenced by several `iris.tests.IrisTest` methods.\r\n\r\nCurrently, the only way to re-direct `iris.tests._RESULT_PATH` somewhere other than the `IrisTest` default, is to **overwrite** `iris.tests._RESULT_PATH`, which may not be desirable nor appropriate.\r\n\r\nDefining `iris.tests.get_result_path` as an `iris.tests.IrisTest` static-method, allows light-weight sub-class specialization to cleanly reference a different `_RESULT_PATH` in a different module (i.e. `iris_grib.tests`) without clobbering `iris.tests._RESULT_PATH`."},"comment":{"url":"https://api.github.com/repos/SciTools/iris/issues/comments/223319582","html_url":"https://github.com/SciTools/iris/pull/2037#issuecomment-223319582","issue_url":"https://api.github.com/repos/SciTools/iris/issues/2037","id":223319582,"user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:02:27Z","updated_at":"2016-06-02T15:02:27Z","body":"Cool, thanks!"}}
{"actor":{"display_login":"bjlittle"}}