Skip to content

Avoid import-time platform/env specific checks#411

Merged
markwaddle merged 2 commits intomicrosoft:mainfrom
markwaddle:markwaddle/allow-test-discovery
Mar 19, 2025
Merged

Avoid import-time platform/env specific checks#411
markwaddle merged 2 commits intomicrosoft:mainfrom
markwaddle:markwaddle/allow-test-discovery

Conversation

@markwaddle
Copy link
Copy Markdown
Contributor

And execute them at runtime instead, so that pytest collection can occur (instead of failing when trying to read env vars) - and then skip tests if values aren't set or platform is different than required.

And execute them at runtime instead, so that pytest collection can occur
(instead of failing when trying to read env vars) - and then skip tests
if values aren't set or platform is different than required.
@markwaddle markwaddle merged commit 2dc52f9 into microsoft:main Mar 19, 2025
1 check passed
@markwaddle markwaddle deleted the markwaddle/allow-test-discovery branch March 19, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant