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
The tests for pytest-shutil uses a test where it does a chdir to /bin then checks to make sure it's in /bin.
Unfortunately this fails on Fedora hosts as /bin is a link to /usr/bin, so the test shows it's in the wrong dir:
=================================== FAILURES =================================== __________________________________ test_chdir __________________________________ def test_chdir(): here = os.getcwd() with cmdline.chdir('/bin'):
assert os.getcwd() == '/bin'
E AssertionError: assert '/usr/bin' == '/bin' E - /usr/bin E + /bin tests/integration/test_cmdline_integration.py:9: AssertionError
I suggest using /etc ? Doing that here locally makes the tests pass...
The text was updated successfully, but these errors were encountered:
server-fixtures uses __init__.py to define paths, maybe we should do that for this fixture so on different Linux flavors it can be changed
__init__.py
Sorry, something went wrong.
@eeaston
I'll update the test to use a tempdir instead.
Fixed in 932be1d, thanks for raising!
No branches or pull requests
The tests for pytest-shutil uses a test where it does a chdir to /bin then checks to make sure it's in /bin.
Unfortunately this fails on Fedora hosts as /bin is a link to /usr/bin, so the test shows it's in the wrong dir:
=================================== FAILURES ===================================
__________________________________ test_chdir __________________________________
def test_chdir():
here = os.getcwd()
with cmdline.chdir('/bin'):
E AssertionError: assert '/usr/bin' == '/bin'
E - /usr/bin
E + /bin
tests/integration/test_cmdline_integration.py:9: AssertionError
I suggest using /etc ? Doing that here locally makes the tests pass...
The text was updated successfully, but these errors were encountered: