Skip to content
Snippets Groups Projects
Commit 13d6799c authored by felmer's avatar felmer
Browse files

SP-32, BIS-14: Tests fixed

SVN: 25319
parent 3921b2bb
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,8 @@ public class JythonBasedReportingPluginTest extends AbstractFileSystemTestCase
{
one(reportingPluginScriptRunner).describe(with(iDataSetsMatcher),
with(any(ISimpleTableModelBuilderAdaptor.class)));
one(scriptRunnerFactory).getScriptPath();
will(returnValue("script.py"));
}
});
plugin.createReport(Arrays.asList(datasetDescription1, datasetDescription2),
......@@ -144,7 +146,9 @@ public class JythonBasedReportingPluginTest extends AbstractFileSystemTestCase
fail("Expected UserFailureException");
} catch (UserFailureException ex)
{
assertEquals("Chosen plugin failed to create a report.", ex.getMessage());
assertEquals("Chosen plugin failed to create a report: "
+ "ch.systemsx.cisd.common.evaluator.EvaluatorException: blabla",
ex.getMessage());
}
context.assertIsSatisfied();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment