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

Mc testing to dev #295

Conversation

maxachis
Copy link
Contributor

No description provided.

In the helper function and tests module, the SQL queries were updated to use `DATETIME_OF_REQUEST` instead of `UPDATED_AT`. In `test_quick_search_query.py`, the code to get the current date was changed to pull directly from the database using 'SELECT NOW()'. Removed redundancy in data_source_by_id_query assertions and simplified datetime comparison in quick_search_query test. Made necessary import adjustments in `test_data_source_queries.py`.
The pytest command used in the .github/workflows/pull.yaml has been updated to correctly point to the app_test.py file. This adjustment affects the "Test with pytest" segment of the workflow.
Refactored DataRequestsManager to use the new DBRequestMapper class for generating database queries. Created new data classes RequestInfo and UpdateableRequestColumns to map request data to the database. Added appropriate tests to verify correct operation.
@maxachis maxachis closed this May 19, 2024
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.

1 participant