-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add _build_addr
method to PHDCBuilder
#1070
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1070 +/- ##
=======================================
Coverage 96.93% 96.93%
=======================================
Files 48 48
Lines 3037 3037
=======================================
Hits 2944 2944
Misses 93 93
Flags with carried forward coverage won't be shown. Click here to find out more. |
@pytest.mark.parametrize( | ||
"build_addr_test_data, expected_result", | ||
[ | ||
# Success with all values present |
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.
the comment describing the expectation of the test set up data is a good idea 💡
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.
Much easier for me to keep track as I make the tests too :)
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.
this looks good to me 🚀
PULL REQUEST
Summary
This PR adds an internal method for building out the address section of a PHDC.
Related Issue
Fixes #1052
Additional Information
line
. PHDC does allow for mutiplelines
in an address or for the address to be condensed on a single line.Checklist