Skip to content

Conversation

@mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Oct 21, 2025

I'm not able to reproduce tests/test_field_data.py::test_field_data_errors's failure (yet).

Copilot AI review requested due to automatic review settings October 21, 2025 15:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses test failures in the latest nightly build by adjusting test expectations for version-specific behavior changes in Fluent 26.1. The changes add version checks to skip or modify assertions that no longer apply to the newer version.

  • Added version guard for exception behavior test that no longer throws in v26.1 (Fluent bug 1354052)
  • Changed strict equality check to superset check for command names in v25.1+
  • Added version guard for list command argument assertion that changed in v26.1

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/test_session.py Added version check to skip exception test for v26.1+ due to known Fluent bug
tests/test_flobject.py Modified command names assertion to use superset check and added version guard for list command behavior

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Oct 21, 2025
"delete",
"rename",
"list",
"list_properties",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In 26.1, above 2 commands are replaced with base class methods

@mkundu1 mkundu1 changed the title Fix tests which are failing in the latest nightly [skip tests] test: Fix tests which are failing in the latest nightly [skip tests] Oct 21, 2025
@github-actions github-actions bot added the enhancement Improve any current implemented feature label Oct 21, 2025
Copilot AI review requested due to automatic review settings October 21, 2025 15:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mkundu1 mkundu1 force-pushed the fix/test_default_argument_names_for_commands branch from 71ae17e to cbecf82 Compare October 21, 2025 18:34
Copilot AI review requested due to automatic review settings October 21, 2025 18:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mkundu1 mkundu1 force-pushed the fix/test_default_argument_names_for_commands branch from 4b9c157 to 6b7b609 Compare October 21, 2025 19:59
Copilot AI review requested due to automatic review settings October 21, 2025 20:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mkundu1 mkundu1 force-pushed the fix/test_default_argument_names_for_commands branch from e7fbc31 to 7f60a5c Compare October 21, 2025 21:42
Copilot AI review requested due to automatic review settings October 21, 2025 21:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@prmukherj
Copy link
Collaborator

@mkundu1, This is working fine with me with this week's image:
tests/test_field_data.py::test_field_data_errors

@mkundu1 mkundu1 merged commit 41f5223 into main Oct 23, 2025
4 checks passed
@mkundu1 mkundu1 deleted the fix/test_default_argument_names_for_commands branch October 23, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent enhancement Improve any current implemented feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants