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
1010    { 
1111        private  TimeSpan  lastExecutionDuration  =  new  TimeSpan ( ) ; 
1212        private  IEnumerable < string >  packagePaths ; 
13+         private  string  preferenceFilePath ; 
1314
1415        protected  override  void  GetLibrariesToPreload ( List < string >  libraries ) 
1516        { 
@@ -38,18 +39,19 @@ public void TestExecutionSession()
3839
3940        [ Test ] 
4041        [ Category ( "UnitTests" ) ] 
41-         public  void  TestExecutionSessionPackagePaths ( ) 
42+         public  void  TestExecutionSessionPaths ( ) 
4243        { 
4344            ExecutionEvents . GraphPreExecution  +=  ExecutionEvents_GraphPreExecution ; 
4445            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" ) ; 
4648            ExecutionEvents . GraphPreExecution  -=  ExecutionEvents_GraphPreExecution ; 
4749        } 
4850
4951        private  void  ExecutionEvents_GraphPreExecution ( Session . IExecutionSession  session ) 
5052        { 
5153            packagePaths  =  ExecutionEvents . ActiveSession . GetParameterValue ( Session . ParameterKeys . PackagePaths )  as  IEnumerable < string > ; 
52- 
54+              preferenceFilePath   =   ExecutionEvents . ActiveSession . GetParameterValue ( Session . ParameterKeys . PreferenceFilePath )   as   string ; 
5355        } 
5456
5557        [ OneTimeTearDown ] 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments