File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed 
services/director-v2/tests/unit/with_dbs/comp_scheduler Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -540,8 +540,8 @@ async def test_create_computation_with_wallet(
540540            ==  len (
541541                [
542542                    v 
543-                     for  v  in  proj . workbench .values ()
544-                     if  to_node_class (v . key ) !=  NodeClass .FRONTEND 
543+                     for  v  in  fake_workbench_without_outputs .values ()
544+                     if  to_node_class (v [ " key" ] ) !=  NodeClass .FRONTEND 
545545                ]
546546            )
547547            *  2 
@@ -551,7 +551,9 @@ async def test_create_computation_with_wallet(
551551            project_nodes_repo  =  ProjectNodesRepo (project_uuid = proj .uuid )
552552            for  node  in  await  project_nodes_repo .list (connection ):
553553                if  (
554-                     to_node_class (proj .workbench [f"{ node .node_id }  " ].key )
554+                     to_node_class (
555+                         fake_workbench_without_outputs [f"{ node .node_id }  " ]["key" ]
556+                     )
555557                    !=  NodeClass .FRONTEND 
556558                ):
557559                    assert  node .required_resources 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments