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

test_machine_mapping_functions under each machine mappings #324

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

orso82
Copy link
Member

@orso82 orso82 commented Nov 14, 2024

I think having the tests at the bottom of each machine mapping file makes more sense.
While test_machine_mapping_functions worked for DIII-D it was broken for other devices.

@orso82 orso82 requested a review from AreWeDreaming November 14, 2024 04:34
@AreWeDreaming
Copy link
Collaborator

Do we really want any test function in the actual file and not in omas/tests. I can move the tests there if @orso82 agrees.

@orso82
Copy link
Member Author

orso82 commented Nov 14, 2024

That will not work, since you cannot access MDS+ data for those machines. If test_machine_mapping_functions() is confusing, it could be renamed as run_machine_mapping_functions().

Copy link
Collaborator

@AreWeDreaming AreWeDreaming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am approving this, but I also opened #325 so we can find a better way to run these tests.

@AreWeDreaming AreWeDreaming merged commit 5416ea7 into master Nov 14, 2024
6 checks passed
@AreWeDreaming AreWeDreaming deleted the fix_test_machine_mapping branch November 14, 2024 22:07
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.

2 participants