Changes between Initial Version and Version 1 of Ticket #31416, comment 13
- Timestamp:
- Apr 16, 2020, 8:32:15 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31416, comment 13
initial v1 1 1 Hi Y'all, 2 2 3 I was looking into this test case [https://github.com/django/django/blob/6fbce45b0376f0ec8f3bf244f4f1f8d62c201f58/tests/model_inheritance/test_abstract_inheritance.py#L160-L173]. This case seems to cover the case for this problem, but the issue is `python manage.py migrate` throws an error that we want to handle. How should I go about writing the unit test? Much appreciated!3 I was looking into this test case [https://github.com/django/django/blob/6fbce45b0376f0ec8f3bf244f4f1f8d62c201f58/tests/model_inheritance/test_abstract_inheritance.py#L160-L173]. This case seems to cover the case for this problem, but the issue is `python manage.py migrate` throws an error that we want to handle. Or there is no need to write a test case for that since we just want to change the behavior? if we do need test cases, How should I go about writing the unit test? Much appreciated!