File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed 
py/test/selenium/webdriver Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
114114    options .add_argument ("--user-data-dir=/no/such/location" )
115115    service  =  Service ()
116116    with  pytest .raises (SessionNotCreatedException ):
117-         driver   =   clean_driver (options = options , service = service )
117+         clean_driver (options = options , service = service )
118118    assert  not  service .is_connectable ()
119119    assert  service .process .poll () is  not   None 
120120
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
114114    options .add_argument ("--user-data-dir=/no/such/location" )
115115    service  =  Service ()
116116    with  pytest .raises (SessionNotCreatedException ):
117-         driver   =   clean_driver (options = options , service = service )
117+         clean_driver (options = options , service = service )
118118    assert  not  service .is_connectable ()
119119    assert  service .process .poll () is  not   None 
120120
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
6969    options .add_argument ("-profile=/no/such/location" )
7070    service  =  Service ()
7171    with  pytest .raises (SessionNotCreatedException ):
72-         driver   =   clean_driver (options = options , service = service )
72+         clean_driver (options = options , service = service )
7373    assert  not  service .is_connectable ()
7474    assert  service .process .poll () is  not   None 
7575
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments