Skip to content

Move helper functions to conftest.#253

Closed
YooSunYoung wants to merge 1 commit intocheck-test-file-namesfrom
check-test-file-names-fix-nmx
Closed

Move helper functions to conftest.#253
YooSunYoung wants to merge 1 commit intocheck-test-file-namesfrom
check-test-file-names-fix-nmx

Conversation

@YooSunYoung
Copy link
Member

I moved the non-test-python-file to conftest.
It's better this way I think?

Copy link
Member

Choose a reason for hiding this comment

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

Can you use more explicit fixture names? no_detectors doesn't say anything about what type of data it contains. And you can use a conftest.py in the mcstas subfolder to give the fixtures a more narrow scope.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point...

@jl-wynen
Copy link
Member

Maybe you should base this branch on main. That way, CI doesn't fail because of the file name in essreduce.

@YooSunYoung
Copy link
Member Author

I'll close this in favor of #255

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