File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ pytest --allocation_hostname localhost -s --allocation_requirements os=Android m
4242pip install pytest- lockable
4343``` 
4444
45- ` conftest.py ` :
46- 
47- ``` 
48- pytest_plugins = ("lockable.plugin",) 
49- ``` 
5045
5146## integrations  
5247
Original file line number Diff line number Diff line change 11""" example conftest """ 
2- import  sys 
3- import  os 
4- TEST_DIR  =  os .path .dirname (os .path .abspath (__file__ ))
5- PLUGIN_DIR  =  os .path .join (TEST_DIR , '../' )
6- sys .path .insert (0 , PLUGIN_DIR )
7- 
8- pytest_plugins  =  ("pytest_lockable.plugin" , "metadata" )  # pylint: disable=invalid-name 
Original file line number Diff line number Diff line change 4949    ],
5050    packages = find_packages (exclude = ['tests' ]),
5151    keywords = "py.test pytest lockable resource" ,
52+     entry_points = {"pytest11" : ["pytest_lockable = pytest_lockable.plugin" ]},
5253    python_requires = '>=3.7, <4' ,
5354    install_requires = [
5455        'pytest' ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments