Skip to content

Commit

Permalink
Update ft test.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson authored and jmarrec committed Dec 19, 2024
1 parent 283d28d commit cdab6fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/energyplus/Test/PythonPluginSearchPaths_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ TEST_F(EnergyPlusFixture, ForwardTranslator_PythonPluginSearchPaths) {
}

{
EXPECT_TRUE(pythonPluginSearchPaths.setAddCurrentWorkingDirectorytoSearchPath(true));
EXPECT_TRUE(pythonPluginSearchPaths.setAddInputFileDirectorytoSearchPath(true));
EXPECT_TRUE(pythonPluginSearchPaths.setAddepinEnvironmentVariabletoSearchPath(true));

std::vector<std::string> searchPaths({"/path/to/lib1", "/path/to/lib2"});
EXPECT_TRUE(pythonPluginSearchPaths.setSearchPaths(searchPaths));
EXPECT_EQ(2u, pythonPluginSearchPaths.searchPaths().size());
Expand Down

0 comments on commit cdab6fb

Please sign in to comment.