We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sudo
I am using linux system. When I ran the unit tests, when it arrives to test_powermetrics.py, it asks for sudo permissions to run it.
test_powermetrics.py
tests/test_powermetrics.py::TestApplePowerMetrics::test_get_details [sudo] password for inigo: Sorry, try again. [sudo] password for inigo: ...
Run hatch run test:package
hatch run test:package
The text was updated successfully, but these errors were encountered:
Thanks ! I'm having the same problem under Linux. But as it doesn't happened in CI I though it was a local problem.
Sorry, something went wrong.
I think it's [this line](def _has_powermetrics_sudo():) that don't work as expected : if re.search(r"[sudo].*password", stderr):
if re.search(r"[sudo].*password", stderr):
Solution proposal : #576
Successfully merging a pull request may close this issue.
I am using linux system. When I ran the unit tests, when it arrives to
test_powermetrics.py
, it asks for sudo permissions to run it.How to reproduce
Run
hatch run test:package
The text was updated successfully, but these errors were encountered: