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

I am notgetting report in the code but I am getting in command prompt window #857

Open
ajayraajj opened this issue Jan 27, 2025 · 0 comments

Comments

@ajayraajj
Copy link

@pytest.hookimpl(tryfirst=True)
def pytest_configure(config):
if not os.path.exists('reports'):
os.makedirs('reports')
config.option.htmlpath = 'reports/'+datetime.now().strftime("%d-%m-%Y %H-%M-%S")+".html"

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

1 participant