-
Notifications
You must be signed in to change notification settings - Fork 146
tests: config: Split the skip cases #891
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
base: main
Are you sure you want to change the base?
Conversation
d279da0 to
affeb83
Compare
affeb83 to
71d19fa
Compare
Have the actual reason for skipping the test in the output. Signed-off-by: Pieter De Gendt <[email protected]>
71d19fa to
ce53f0d
Compare
| assert cfg(f=LOCAL)['pytest']['precedence'] == 'local' | ||
|
|
||
|
|
||
| @pytest.mark.skipif(WINDOWS, reason="Non-readable files do not exist on Windows") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @pytest.mark.skipif(WINDOWS, reason="Non-readable files do not exist on Windows") | |
| @pytest.mark.skipif(WINDOWS, reason="chmod is not available on Windows") |
Pretty sure NTFS can stop some users from reading some files!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is available, but you can only make files read-only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marc-hb do you still prefer that I change to your suggestion? I'm fine either way.
Have the actual reason for skipping the test in the output.