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

Create mock mode #5

Open
vsoch opened this issue Jul 2, 2023 · 0 comments
Open

Create mock mode #5

vsoch opened this issue Jul 2, 2023 · 0 comments

Comments

@vsoch
Copy link
Member

vsoch commented Jul 2, 2023

To better test plugins, we should allow a local or mock mode, meaning that instead of importing flux and parsing actual jobs, we return a fake set. This can be done by packaging those flux.X calls into a FluxHandle (or similar) class, and then also having a FluxMock class as an option if the user wants to mock. And then for the first, the imports for Flux will happen inside of the module functions.

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

No branches or pull requests

1 participant