<commit_before>import nose.tools
from nose.plugins.attrib import attr

from tests.common import WpsTestClient, TESTDATA, assert_response_success

@attr('online')
def test_wps_ensemble_robustness():
    wps = WpsTestClient()
    datainputs = "[resource={0};start=1980;end=2010]".format(TESTDATA['eurocordex_nc_1'])
    resp = wps.get(service='wps', request='execute', version='1.0.0', identifier='ensembleRobustness',
                   datainputs=datainputs)
    assert_response_success(resp)
<commit_msg>using local testdata for ensemble robustness<commit_after>import nose.tools
from nose.plugins.attrib import attr

from tests.common import WpsTestClient, TESTDATA, assert_response_success

def test_wps_ensemble_robustness():
    wps = WpsTestClient()
    datainputs = "[resource={0};start=2006;end=2006]".format(TESTDATA['cmip5_tasmax_nc'])
    resp = wps.get(service='wps', request='execute', version='1.0.0', identifier='ensembleRobustness',
                   datainputs=datainputs)
    assert_response_success(resp)

{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.025365853658536587, 'mean_word_length': 5.705882352941177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4213141', 'n_tokens_mistral': 351, 'n_tokens_neox': 335, 'n_words': 56}