declare "allow_cache_wipe" marker in pytest.ini to avoid pytest warning#5197
Merged
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom Jun 2, 2020
FelixSchwarz:pytest-warning
Merged
declare "allow_cache_wipe" marker in pytest.ini to avoid pytest warning#5197ThomasWaldmann merged 1 commit intoborgbackup:masterfrom FelixSchwarz:pytest-warning
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
FelixSchwarz:pytest-warning
Conversation
RonnyPfannschmidt
approved these changes
May 24, 2020
Member
|
travis-ci looks rather unhappy somehow. |
Member
|
this does not run any tests any more. |
Member
|
guess moving this to the pytest section in setup.cfg would fix it. |
Undeclared markers trigger a pytest warning:
PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo?
Contributor
Author
|
@ThomasWaldmann sorry for just dumping this PR. Your guess was correct. I pushed an updated version of this commit. |
Codecov Report
@@ Coverage Diff @@
## master #5197 +/- ##
==========================================
- Coverage 84.06% 83.90% -0.17%
==========================================
Files 37 37
Lines 9836 9836
Branches 1638 1638
==========================================
- Hits 8269 8253 -16
- Misses 1090 1103 +13
- Partials 477 480 +3
Continue to review full report at Codecov.
|
Member
|
guess this is also needed for 1.1-maint? |
Contributor
Author
Well, the problem also applies to 1.1.x but for me it is not important to fix because it is just a warning. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Undeclared markers trigger a pytest warning:
PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo?
You can see the warning in the current travis output: