Skip to content

more tests - #241

Merged
ryanraaschCDC merged 8 commits into
mainfrom
240-increase-test-coverage
Jul 30, 2026
Merged

more tests#241
ryanraaschCDC merged 8 commits into
mainfrom
240-increase-test-coverage

Conversation

@ryanraaschCDC

Copy link
Copy Markdown
Collaborator

No description provided.

@ryanraaschCDC
ryanraaschCDC requested a review from Copilot July 27, 2026 14:47
@ryanraaschCDC ryanraaschCDC linked an issue Jul 27, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates CloudClient tests to accommodate recent add_task behavior changes around resolving container images from pool configuration, and to keep DAG execution tests passing.

Changes:

  • In test_add_task, adds a mocked pool configuration via get_pool_full_info so add_task() can resolve a default container image when none is provided.
  • In test_run_dag, sets full_container_name before running the DAG to avoid container resolution failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_cloudclient.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

cfa/cloudops/scripts.py:1177

  • --file_path is a required CLI argument but it has no help= text, so add_tasks_from_yaml --help won’t describe what the flag is for. Adding a short description improves the CLI UX and keeps it consistent with the other arguments in this parser.
        "-fp",
        "--file_path",
        type=str,
        required=True,
    )

Comment thread tests/test_function_app_client_branches.py Outdated
Comment thread tests/test_local_modules_coverage.py Outdated
Comment thread tests/test_init_module.py Outdated
ryanraaschCDC and others added 4 commits July 27, 2026 17:15
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ryanraaschCDC
ryanraaschCDC requested a review from xop5 July 27, 2026 17:54
@ryanraaschCDC
ryanraaschCDC marked this pull request as ready for review July 27, 2026 18:04
@xop5

xop5 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Please resolve the merge conflict

@ryanraaschCDC
ryanraaschCDC merged commit 2fb2af6 into main Jul 30, 2026
3 checks passed
@ryanraaschCDC
ryanraaschCDC deleted the 240-increase-test-coverage branch July 30, 2026 19:54
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.

increase test coverage

4 participants