Skip to content

Commit

Permalink
Fix code smell
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte committed Jun 24, 2024
1 parent c7346c5 commit 5664d74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ void testCallingBadVersionDynawo() throws IOException {
LocalCommandExecutor commandExecutor = new LocalCommandExecutorMock("/dynawo_bad_version.out", null);
SecurityAnalysisRunParameters runParameters = new SecurityAnalysisRunParameters()
.setComputationManager(new LocalComputationManager(new LocalComputationConfig(fileSystem.getPath("/working-dir"), 1), commandExecutor, ForkJoinPool.commonPool()));
assertThrows(PowsyblException.class, () -> SecurityAnalysis.run(network, List.of(), runParameters));
List<Contingency> contingencies = List.of();
assertThrows(PowsyblException.class, () -> SecurityAnalysis.run(network, contingencies, runParameters));
}

private static Network buildNetwork() {
Expand Down

0 comments on commit 5664d74

Please sign in to comment.