Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not possible test (help please) #7

Open
Skisperd opened this issue Jan 4, 2021 · 1 comment
Open

It's not possible test (help please) #7

Skisperd opened this issue Jan 4, 2021 · 1 comment

Comments

@Skisperd
Copy link

Skisperd commented Jan 4, 2021

ImportError while loading conftest 'D:_Automation_Projects_automation\Automation_Poco_Pytest\Automation_runner\cases\conftest.py'.
..\conftest.py:16: in
ST.PROJECT_ROOT = os.environ['PROJECT_ROOT']
C:\Users\tf.dias\AppData\Local\Programs\Python\Python36\lib\os.py:669: in getitem
raise KeyError(key) from None
E KeyError: 'PROJECT_ROOT'

Process finished with exit code 4

Empty suite

@StandOutstar
Copy link
Owner

You should set this PROJECT_ROOT environment variables before use it. In this sample, it was set in run.sh
export PROJECT_SPACE_ROOT=$(pwd).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants