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
host.package
Would it be possible to make it work for Linux too? It only works for macOS at the moment.
As an alternative if this helps anyone, I am doing this:
# host.package doesn't work with homebrew packages on Linux def test_homebrew_packages(host): packages = { 'git-delta': re.compile(r'delta \d+\.\d+\.\d+', re.M), 'hub': re.compile(r'hub version .*', re.M), } for package, version_re in packages.items(): version = host.run("bash -l -c " + package + " --version").stdout assert version_re.match(version)
Not as robust as using the package module but better than nothing.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would it be possible to make it work for Linux too? It only works for macOS at the moment.
As an alternative if this helps anyone, I am doing this:
Not as robust as using the package module but better than nothing.
The text was updated successfully, but these errors were encountered: