Skip to content
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

Avoid PytestUnknownMarkWarning due to "slow" marker #728

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

juhoinkinen
Copy link
Member

Register "slow" test marker as described in pytest documentation to avoid the warning:

tests/test_openapi.py:22
  /home/local/jmminkin/git/Annif/tests/test_openapi.py:22: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

The "slow" marker was added in #685.

@juhoinkinen juhoinkinen added this to the 1.0 milestone Aug 16, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (40cc2fd) 99.67% compared to head (468e263) 99.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #728   +/-   ##
=======================================
  Coverage   99.67%   99.67%           
=======================================
  Files          89       89           
  Lines        6397     6397           
=======================================
  Hits         6376     6376           
  Misses         21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@juhoinkinen juhoinkinen marked this pull request as ready for review August 16, 2023 07:14
@juhoinkinen juhoinkinen merged commit f6434d7 into main Aug 16, 2023
14 checks passed
@juhoinkinen juhoinkinen deleted the remove-pytest-unknown-mark-warning branch August 16, 2023 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant