Skip to content

Conversation

mShan0
Copy link
Contributor

@mShan0 mShan0 commented May 3, 2023

Django's test fails due to an assert check format incompatibility. This copies the tests and makes a slight modification for our testing purposes.

Resolves the following test for Django 4.2:

get_or_create.tests.UpdateOrCreateTests.test_update_only_defaults_and_pre_save_fields_when_local_fields

@mShan0 mShan0 merged commit 3375f3a into django42 May 3, 2023
@mShan0 mShan0 deleted the fix-update-tests branch May 3, 2023 22:32
mShan0 added a commit that referenced this pull request May 31, 2023
* Allow Django 4.2 (#227)

* Allow Django 4.2

* allow Django 4.2

* Fix errors with raising FullResultSet exception and with alter_column_type_sql() and collate_sql() functions (#229)

* fix error with raising fullresultset

* add django4.2 condition

* fix alter_column_type_sql and collate_sql to take 2 additional arguments

* delete argument 'old_rel_collation'

* fix arguments names

* fix last_executed_query() to properly replace placeholders with params (#234)

* disable allows_group_by_select_index

* unskip old tests

* unskip some tests

* skip more tests

* Use latest Django 4.2 beta for tox (#238)

* use 4.2 rc1 branch (#240)

* allow partial support for filtering against window functions (#239)

* add subsecond support to Now() (#242)

* assign value to display_size (#244)

* add latest django 4.2 branch to ci

* raise an error when batch_size is zero. (#259)

* replicate get or create test for mssql (#265)

* Add skipped tests to Django 4.2 (#268)

* skip django 4.2 failing tests

* skip schema test

* skip aggregate annotation pruning test

---------

Co-authored-by: mShan0 <mark.shan19@gmail.com>

* syntax fix

* ci fix

* bump version to 1.3

---------

Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>
Co-authored-by: Khanh Bui <khanhmb815@gmail.com>
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