-
Notifications
You must be signed in to change notification settings - Fork 61
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
Migrate watertap.ui.fsapi to idaes_flowsheet_processor #1518
Migrate watertap.ui.fsapi to idaes_flowsheet_processor #1518
Conversation
#6) * Add initial implementation of pytest plugin * Add README with usage examples and basic tests * Add previously missing import * Temporarily set watertap requirement to use watertap-org/watertap#1518 * Add missing __init__.py file * Handle typing limitations on Python 3.9 * Ensure Git history is available to calculate version correctly * Avoid replacing collection of ordinary Python tests * Add nodeid to improve display when running in non-verbose mode * Ensure entry points are unique
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.
LGTM - it seems like this shouldn't change how we run the GUI locally, right? I just tried running the BSM2 GUI off this branch and didn't run into any issues
This is an excellent point @MarcusHolly. I've added a section to the documentation (commit 666e935) to explain how to run tests for the flowsheet interfaces. Feel free to take a look and let me know if you have any feedback or suggestions. |
Resolve: #1517
Changes proposed in this PR:
watertap/ui
watertap.ui.fsapi -> idaes_flowsheet_processor.api
(we might want to just use the top-level package instead; see watertap-org/idaes-flowsheet-processor#FIXME)idaes-flowsheet-processor
(currently from the repo URL https://github.com/watertap-org/idaes-flowsheet-processor) as an optional dependency under thetesting
targetdev
target and splitting its contents between thetesting
target andrequirements-dev.txt
Before merging
idaes-flowsheet-processor
requirement currently pointing to Add pytest plugin for project-agnostic testing of flowsheet interfaces idaes-flowsheet-processor#6Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: