fix(pytest): move warning filters to pyproject and fix factory postgeneration warnings#3905
fix(pytest): move warning filters to pyproject and fix factory postgeneration warnings#3905
Conversation
Agent-Logs-Url: https://github.com/mitodl/mitxpro/sessions/dbb0a43c-be3d-4eb6-93d8-f27ea03dd5d3 Co-authored-by: asadali145 <52656433+asadali145@users.noreply.github.com>
|
@copilot run pre-commit checks and fix the issues |
Agent-Logs-Url: https://github.com/mitodl/mitxpro/sessions/bcc07426-b337-4f82-81be-a02a988a1fc6 Co-authored-by: asadali145 <52656433+asadali145@users.noreply.github.com>
Addressed in f65b2c7. I ran Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot look into the failing CI tests in CI / python-tests github action and make appropriate changes to fix the tests |
Agent-Logs-Url: https://github.com/mitodl/mitxpro/sessions/37570578-0b1c-48ae-b692-0b17883706e1 Co-authored-by: asadali145 <52656433+asadali145@users.noreply.github.com>
Addressed in 2894c28. I checked the failing Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot update the PR description to follow conventional commit messages to help with squash merge. Also, update the PR description as per the repo PR description format. |
Updated the PR description to match the repo template sections and added a conventional squash commit title suggestion: |
fix(pytest): move warning filters to pyproject and fix factory postgeneration warningspyproject.toml, remove the blanket deprecation ignore, and fix theCI / python-testsfailures by settingskip_postgeneration_save = Trueon the affected factoriespre-commit run --files users/factories.py cms/factories.py courses/factories.py ecommerce/factories.pypytest hubspot_xpro/serializers_test.py::test_serialize_b2b_order[created] users/views_test.py::test_get_user_by_me[True-True] ecommerce/api_test.py::test_validate_basket_all_good[True] -q --no-covfactory_boypostgeneration deprecation warnings being treated as errors after removing the blanket warning ignore