Skip to content

adapt conftest.py to removed classes in micromagnetictests#173

Open
AdamsMP92 wants to merge 1 commit into
masterfrom
remove-classes-micromagnetictests
Open

adapt conftest.py to removed classes in micromagnetictests#173
AdamsMP92 wants to merge 1 commit into
masterfrom
remove-classes-micromagnetictests

Conversation

@AdamsMP92

Copy link
Copy Markdown

Summary

Update the micromagnetictests skip logic after the class-removal refactor in ubermag/micromagnetictests#72.

The calculator tests are now exposed as module-level pytest functions instead of Test... classes. The OOMMF-specific skip list already used the new flat test_... names, so this PR simplifies the skip lookup to match the new collection structure directly.

Changes

  • Keep not_supported_by_oommf keyed by the new flat test_... function names.
  • Remove the old request.cls handling from the skip lookup.
  • Store not_supported_by_oommf as a set for direct membership checks.

@AdamsMP92
AdamsMP92 requested a review from lang-m July 7, 2026 09:09
@AdamsMP92 AdamsMP92 self-assigned this Jul 7, 2026
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