-
Notifications
You must be signed in to change notification settings - Fork 1
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
Develop #39
Develop #39
Conversation
large portion of coverage on farm.py
Codecov Report
@@ Coverage Diff @@
## develop #39 +/- ##
==========================================
Coverage ? 43.44%
==========================================
Files ? 5
Lines ? 267
Branches ? 38
==========================================
Hits ? 116
Misses ? 141
Partials ? 10 Continue to review full report at Codecov.
|
@@ -5,12 +5,14 @@ class Farm: | |||
|
|||
def __init__(self, farmerName:str='Farmer', | |||
cuerdas:float=1, | |||
treeType:str='Borbon', | |||
treeType:str='Borbón', |
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.
make sure 'borbon' as an argument behaves the same for those of us without convenient access to accents on keyboards ;D
self.farmerName = farmerName | ||
|
||
self.inheretTreeProperties(treeType) | ||
self.inheretTreeProperties(treeType, treeAttributes) |
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.
good.
# as soon as yaml imports are tested, this can be deleted: | ||
# temporary stand-in for variable testing | ||
else: | ||
if (treeType =='borbon') or (treeType == 'borbón'): |
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.
use the str
library or something similar to standardize stripping/formatting instead of trying to catch this
large portion of farm.py is covered & passing