Skip to content
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 for modify holding attribute error #61

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Conversation

jackleland
Copy link
Contributor

This is to fix the failing test on modify_holding(), which is due to the lack of input checking done on the holding passed into the function. This could just as easily be fixed by wrapping everything in a try-catch to catch an AttributeError later in the function, but I think this pre-empts that and makes it a bit neater. Lemme know your thoughts.

@jackleland jackleland requested a review from nmassey001 March 13, 2023 15:56
@nmassey001
Copy link
Contributor

Looks good. Maybe we should add the same check to the other functions that take Holding as a parameter.

@nmassey001 nmassey001 merged commit 85f7679 into development Mar 14, 2023
@nmassey001 nmassey001 deleted the modify-holding-fix branch March 14, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants