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

Update tests to pytest format #6

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Update tests to pytest format #6

wants to merge 2 commits into from

Conversation

payalcha
Copy link
Owner

@payalcha payalcha commented Dec 12, 2024

Rewrite tests in tests/github/experimental/workflow/LocalRuntime to pytest format and move them to tests/end_to_end/test_suites/wf_local_func_tests.py.

  • Add new test functions for testflow_datastore_cli, testflow_include_exclude, testflow_include, testflow_reference_with_exclude, and testflow_reference_with_include in tests/end_to_end/test_suites/wf_local_func_tests.py.
  • Add tests/end_to_end/workflow/datastore_cli_flow.py with the content of tests/github/experimental/workflow/LocalRuntime/testflow_datastore_cli.py, import logging, and remove bcolors class usage.
  • Add tests/end_to_end/workflow/include_exclude_flow.py with the content of tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py, import logging, and remove bcolors class usage.
  • Add tests/end_to_end/workflow/include_flow.py with the content of tests/github/experimental/workflow/LocalRuntime/testflow_include.py, import logging, and remove bcolors class usage.
  • Add tests/end_to_end/workflow/reference_with_exclude_flow.py with the content of tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py, import logging, and remove bcolors class usage.
  • Add tests/end_to_end/workflow/reference_with_include_flow.py with the content of tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py, import logging, and remove bcolors class usage.
  • Delete tests/github/experimental/workflow/LocalRuntime/testflow_datastore_cli.py, tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py, tests/github/experimental/workflow/LocalRuntime/testflow_include.py, tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py, tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py, and tests/github/experimental/workflow/LocalRuntime/testflow_reference.py.

For more details, open the Copilot Workspace session.

Signed-off-by: Chaurasiya, Payal <[email protected]>
Rewrite tests in `tests/github/experimental/workflow/LocalRuntime` to pytest format and move them to `tests/end_to_end/test_suites/wf_local_func_tests.py`.

* Add new test functions for `testflow_datastore_cli`, `testflow_include_exclude`, `testflow_include`, `testflow_reference_with_exclude`, and `testflow_reference_with_include` in `tests/end_to_end/test_suites/wf_local_func_tests.py`.
* Add `tests/end_to_end/workflow/datastore_cli_flow.py` with the content of `tests/github/experimental/workflow/LocalRuntime/testflow_datastore_cli.py`, import logging, and remove bcolors class usage.
* Add `tests/end_to_end/workflow/include_exclude_flow.py` with the content of `tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py`, import logging, and remove bcolors class usage.
* Add `tests/end_to_end/workflow/include_flow.py` with the content of `tests/github/experimental/workflow/LocalRuntime/testflow_include.py`, import logging, and remove bcolors class usage.
* Add `tests/end_to_end/workflow/reference_with_exclude_flow.py` with the content of `tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py`, import logging, and remove bcolors class usage.
* Add `tests/end_to_end/workflow/reference_with_include_flow.py` with the content of `tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py`, import logging, and remove bcolors class usage.
* Delete `tests/github/experimental/workflow/LocalRuntime/testflow_datastore_cli.py`, `tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py`, `tests/github/experimental/workflow/LocalRuntime/testflow_include.py`, `tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py`, `tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py`, and `tests/github/experimental/workflow/LocalRuntime/testflow_reference.py`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/payalcha/openfl?shareId=XXXX-XXXX-XXXX-XXXX).
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