horizon/horizon/test/unit
Thomas Goirand 8770753fcc Specify transform=repr in assertQuerysetEqual()
Previously "repr" was automatically applied to "qs" argument of
assertQuerysetEqual() and most horizon unittest behaviors assume it.
It was deprecated in Django 3.2 and removed in Django 4.1. We need to
specify transform=repr explicitly to use the existing behavior.

[1] https://docs.djangoproject.com/en/3.2/topics/testing/tools/#django.test.TransactionTestCase.assertQuerysetEqual

Closes-Bug: #2038474
Change-Id: Ie7c7e9a1efc492889639e25509c8e614268c1d26
2023-10-23 14:24:49 +09:00
..
forms Use python3-style super() 2020-10-15 14:37:20 +09:00
hacking Use unittest.mock instead of third party mock 2020-03-26 19:45:37 +02:00
management Use unittest.mock instead of third party mock 2020-03-26 19:45:37 +02:00
middleware Create Horizon session control logic 2022-02-28 23:48:47 +09:00
tables Specify transform=repr in assertQuerysetEqual() 2023-10-23 14:24:49 +09:00
tabs Specify transform=repr in assertQuerysetEqual() 2023-10-23 14:24:49 +09:00
templatetags Clean up the syntax of html attributes to always use double quotes 2023-04-05 11:00:26 +02:00
utils Drop the usage of unicode prefix from unicode strings 2021-02-12 13:05:27 -06:00
workflows Specify transform=repr in assertQuerysetEqual() 2023-10-23 14:24:49 +09:00
__init__.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_base.py Specify transform=repr in assertQuerysetEqual() 2023-10-23 14:24:49 +09:00
test_exceptions.py Address RemovedInDjango40Warning (1) 2022-01-31 22:42:41 +09:00
test_messages.py Address RemovedInDjango40Warning (1) 2022-01-31 22:42:41 +09:00
test_notifications.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_views.py Address RemovedInDjango40Warning (2) 2022-02-04 16:22:07 +09:00