-
Notifications
You must be signed in to change notification settings - Fork 5
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
notice collection mat view #298
Conversation
✅ Linked to TED-822 · create mat view for notice collection |
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.
Looks good
Codecov ReportBase: 99.01% // Head: 99.01% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #298 +/- ##
=======================================
Coverage 99.01% 99.01%
=======================================
Files 106 107 +1
Lines 5485 5493 +8
=======================================
+ Hits 5431 5439 +8
Misses 54 54
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@@ -143,3 +145,12 @@ def test_mongo_db_query_2(): | |||
]) | |||
for r in result: | |||
print(r) | |||
|
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.
No need to anything (print(r)
) in tests
create_notice_collection_materialised_view(mongo_client=mongodb_client) | ||
db = mongodb_client[config.MONGO_DB_AGGREGATES_DATABASE_NAME] | ||
assert NOTICES_MATERIALISED_VIEW_NAME in db.list_collection_names() | ||
assert 'form_number', 'form_type' in db[NOTICES_MATERIALISED_VIEW_NAME].find_one().keys() |
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.
decent expectation
SonarCloud Quality Gate failed. |
No description provided.