-
Notifications
You must be signed in to change notification settings - Fork 56
test: Add test to check PyFluent launched PyConsole by default. #4371
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
base: main
Are you sure you want to change the base?
Conversation
This is incorrect behaviour. We need to resolve this. The issue description already states that we must add unit test with fix. We just need to update the following condition and I can confirm that it resolves this issue.
|
I don't think it makes sense. I think the earlier behaviour was more correct. What if user sets fluent_root to 22R2? |
Moreover, if we want to make this change, '_get_standalone_launch_fluent_version' is the correct place to do so I believe. |
@prmukherj If we directly use |
yes, should be possible. |
There was a problem hiding this 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 adds a test case to verify that PyFluent launches with PyConsole enabled by default. The test ensures that the -py
flag is included in the fluent launch string when using dry_run mode.
- Add a new standalone test function to verify default PyConsole behavior
- Include changelog entry documenting the new test
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
tests/test_launcher.py | Adds new test function to verify -py flag is present in default launch string |
doc/changelog.d/4371.test.md | Documents the addition of the new test case |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
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 2 out of 2 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Add test to check PyFluent launched PyConsole by default.