Skip to content

Conversation

@rkoumis
Copy link
Owner

@rkoumis rkoumis commented Jan 14, 2025

  • Change how we connect to mongoDB
  • Add basic document types
  • Add some tests
  • Update web/analysis/views.py to use MongoEngine when retrieving calls by object ID

- Added a new file: mongodb_constants.py
- We'll use this new file whenever we're touching mongodb
- The new constants are collection names and some field names
- A bit of refactoring to ensure testability.
- Using mongomock, write tests for web/analysis/views
- Add a test for report doc insert calls
- Add tests for perform_search
- Change how we connect to mongoDB
- Add basic document types
- Add some tests
- Update web/analysis/views.py to use MongoEngine when retrieving calls by object ID
@rkoumis rkoumis force-pushed the refactoring-mongodb-constants branch from 370c375 to 0eb334c Compare January 27, 2025 15:57
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