#NEWLINE# def __init__( self , python_worktree ) : #NEWLINE# #INDENT# self . python_worktree = python_worktree #NEWLINE# self . root = python_worktree . worktree . root #NEWLINE# self . pytest_path = str ( ) #NEWLINE# self . python_path = str ( ) #NEWLINE# self . projects = list ( ) #NEWLINE# self . tests_path = list ( ) #NEWLINE# venv_path = python_worktree . venv_path #NEWLINE# if self : #NEWLINE# #INDENT# self . pytest_path = qipy . venv . find_script ( venv_path , 'py.test' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . pytest_path = qisys . command . find_program ( 'py.test' ) #NEWLINE# #UNINDENT# if ( not self . pytest_path ) : #NEWLINE# #INDENT# raise qisys . error . Error ( 'pytest path is empty' )