Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
  • Loading branch information
rcourtier committed Nov 21, 2024
1 parent ebdeeea commit c03bbfc
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,6 @@ void microGridCgmesExportPreservingOriginalClassesOfLoads() throws IOException,
assertEquals(loadsCreatedFromOriginalClassCount(expected, CgmesNames.NONCONFORM_LOAD), loadsCreatedFromOriginalClassCount(actual, CgmesNames.NONCONFORM_LOAD));
assertEquals(loadsCreatedFromOriginalClassCount(expected, CgmesNames.STATION_SUPPLY), loadsCreatedFromOriginalClassCount(actual, CgmesNames.STATION_SUPPLY));

// Remove the default control area created in expected network during export
expected.getAreaStream().map(Area::getId).toList().forEach(a -> expected.getArea(a).remove());

// Avoid comparing targetP and targetQ (reimport does not consider the SSH file);
expected.getGenerators().forEach(expectedGenerator -> {
Generator actualGenerator = actual.getGenerator(expectedGenerator.getId());
Expand Down

0 comments on commit c03bbfc

Please sign in to comment.