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

--junitxml does not accept ~ in the filename #44

Closed
pytestbot opened this issue May 5, 2011 · 1 comment
Closed

--junitxml does not accept ~ in the filename #44

pytestbot opened this issue May 5, 2011 · 1 comment
Labels
type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Floris Bruynooghe (BitBucket: flub, GitHub: flub)


--junitxml does not accept filenames like "~~/junit.xml" or "$HOME/junit.xml" etc. I think there is little harm in calling os.path.expandvars() and os.path.expanduser() on the filename passed in.


@pytestbot
Copy link
Contributor Author

Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt):


use os.path.expanduser/expandvars on the junitxml path for convience, fixes #44

@pytestbot pytestbot added the type: bug problem that needs to be addressed label Jun 15, 2015
mgorny pushed a commit to mgorny/pytest that referenced this issue May 27, 2023
mgorny pushed a commit to mgorny/pytest that referenced this issue May 27, 2023
This hangs indefinitely on macOS for an unknown reason
mgorny pushed a commit to mgorny/pytest that referenced this issue May 27, 2023
Fix pytest-dev#44 - don't try to bind a random port.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant