File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
test/DynamoCoreTests/Configuration Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class ExecutionSessionTests : DynamoModelTestBase
10
10
{
11
11
private TimeSpan lastExecutionDuration = new TimeSpan ( ) ;
12
12
private IEnumerable < string > packagePaths ;
13
+ private string preferenceFilePath ;
13
14
14
15
protected override void GetLibrariesToPreload ( List < string > libraries )
15
16
{
@@ -38,18 +39,19 @@ public void TestExecutionSession()
38
39
39
40
[ Test ]
40
41
[ Category ( "UnitTests" ) ]
41
- public void TestExecutionSessionPackagePaths ( )
42
+ public void TestExecutionSessionPaths ( )
42
43
{
43
44
ExecutionEvents . GraphPreExecution += ExecutionEvents_GraphPreExecution ;
44
45
RunModel ( @"core\HomogeneousList\HomogeneousInputsValid.dyn" ) ;
45
- Assert . IsNotEmpty ( packagePaths , "packgePaths was empty" ) ;
46
+ Assert . IsNotEmpty ( packagePaths , "packagePaths was empty" ) ;
47
+ Assert . IsNotEmpty ( preferenceFilePath , "preferenceFilePath was empty" ) ;
46
48
ExecutionEvents . GraphPreExecution -= ExecutionEvents_GraphPreExecution ;
47
49
}
48
50
49
51
private void ExecutionEvents_GraphPreExecution ( Session . IExecutionSession session )
50
52
{
51
53
packagePaths = ExecutionEvents . ActiveSession . GetParameterValue ( Session . ParameterKeys . PackagePaths ) as IEnumerable < string > ;
52
-
54
+ preferenceFilePath = ExecutionEvents . ActiveSession . GetParameterValue ( Session . ParameterKeys . PreferenceFilePath ) as string ;
53
55
}
54
56
55
57
[ OneTimeTearDown ]
You can’t perform that action at this time.
0 commit comments