-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Fix factory.py #1099
Fix factory.py #1099
Conversation
Can one of the admins verify this patch? |
Jenkins, okay to test |
Codecov Report
@@ Coverage Diff @@
## master #1099 +/- ##
===========================================
- Coverage 79.92% 56.26% -23.66%
===========================================
Files 30 30
Lines 6152 6176 +24
Branches 1537 1543 +6
===========================================
- Hits 4917 3475 -1442
- Misses 854 2349 +1495
+ Partials 381 352 -29
Continue to review full report at Codecov.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1099 +/- ##
===========================================
- Coverage 73.22% 54.46% -18.77%
===========================================
Files 34 34
Lines 6858 6885 +27
Branches 1743 1749 +6
===========================================
- Hits 5022 3750 -1272
- Misses 1301 2705 +1404
+ Partials 535 430 -105 ☔ View full report in Codecov by Sentry. |
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.
tests/util.py:35
may also need updating
Hello @suecharo , this looks really useful! I made some review comments based upon the unit tests and the type checking. |
Resurrected as #2060 |
I have modified
factory.py
to be the same as when executed from the command line.It has been fixed to be the same runtimeContext and loadingContext as when executed from the command line.
As it uses argparse, we can pass command line runtime options to
factory.py
.It has passed the conformance test.
Adapt this pull request, we can use
factory.py
as follows: