-
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
Added repo and engine code, as well as pytests #28
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
filing=submission.filing, | ||
submitter=submission.submitter, | ||
state=SubmissionState.SUBMISSION_UPLOADED, | ||
validation_ruleset_version="v1", |
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 should probably be null at this point, the validation process should be the one that updates it.
Updated the validation_ruleset_version on a submission nullable since it will be updated during the validation process and not when the submission is initially received. This required updated the pytest associated with the submission_repo, as well as the SubmissionDAO and the alembic script for that table.
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
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.
oh right, the FilingType was changed, tests are failing because of that.
Closes #27
Added the repos/submission_repo.py, engine/engine.py to provide model access functions as well as db session retrieval, respectively.
Added pytests to coincide with that code.