Skip to content

pytest - keep "slow" tests deselected after -k EXPRESSION#6034

Merged
pavoljuhas merged 2 commits intoquantumlib:masterfrom
pavoljuhas:pytest-skip-slow-also-for-k-option
Mar 22, 2023
Merged

pytest - keep "slow" tests deselected after -k EXPRESSION#6034
pavoljuhas merged 2 commits intoquantumlib:masterfrom
pavoljuhas:pytest-skip-slow-also-for-k-option

Conversation

@pavoljuhas
Copy link
Copy Markdown
Collaborator

@pavoljuhas pavoljuhas commented Mar 13, 2023

Problem: pytest -k 'not docker' runs notebook tests marked as "slow"

Solution: Check only the mark expression when deciding if
the slow tests should be skipped.

Problem: `pytest -k 'not docker'`  runs notebook tests marked as "slow"

Solution: Check only the mark expression when deciding whether to
run the `slow` tests.
@pavoljuhas
Copy link
Copy Markdown
Collaborator Author

ping - can somebody PTAL?

@pavoljuhas pavoljuhas merged commit 611edee into quantumlib:master Mar 22, 2023
@pavoljuhas pavoljuhas deleted the pytest-skip-slow-also-for-k-option branch March 22, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants