-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: avoid skipif in the system tests for feature detection
@pytest.mark.skipif condition parameter only takes expressions that evaluates to boolean or string that is eval'd by pytest. This happens way before the role objects are instantiated and it does not work. These lambda functions are not executed at all (and can not be executed because pytest does not support that). The reference to a function is just evaluated to True therefore the test is always skipped. This was broken by 4e95d6f
- Loading branch information
Showing
1 changed file
with
7 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters