It was deprecated in django 4.1[1] and was removed in django 5.0[2].
[1] 59ab3fd0e9
[2] d6816bff73
Closes-Bug: #2092445
Change-Id: Ie7aafab66560bbb4e265b69c79c83d187e455a53
Fix the usage which was overlooked in the previous attempt to fix
the error[1].
[1] 3ab66494ba56afb912de9586ad36533140837ec6
Related-Bug: #2089557
Change-Id: Ia3747d7033adfa065b1737ff73d0d0e37fc60ea5
Login tests were the first implemented pytest tests
during experimenting with fixtures.
Now login (as a fixture) is a part of every test so
it does not makes sense to have separeted tests for
them.
Change-Id: I78d40234b186cc065ef41e6fa65481a3f5a70981
This is the same as the django-libsass patch, but using our own django
filter. This no longer depends on django-libsass, and handles paths
the same way as the old code did, respecting static file prefixes.
It requires fewer changes, and no longer assumes collectstatic has been
run.
Depends-On: https://review.opendev.org/c/openstack/requirements/+/934220
Change-Id: I82f802ef33f1e2071c5e42f806a6a8d9ff7e26e4
Login test was the first implemented UI test during
experimenting with django liveserver
Now login (as a fixture) is a part of every integration
test so it does not makes sense to have separated UI
tests for it.
Change-Id: If73a69a1e58d9558141680def8766dff58026a3e
With migration from ubuntu jammy to noble, python3.11 is not available
anymore. This makes the job to fail on pre-install step.
So let's use Python 3.12 which is available out of the box on Noble
after switch.
This also bumps pylint version, as older one does not work
anymore with Python 3.12. New pylint brings quite some new
rules with it. Some were disabled, some were fixed within this
patch.
Change-Id: I4ba288966c582910e8a822d4531e29c9c005e48f
This option was deprecated in django 4.0 and was removed in 5.0 .
https://docs.djangoproject.com/en/5.1/releases/4.0/#localization
```
In order to follow good practice, the default value of the USE_L10N
setting is changed from False to True.
Moreover USE_L10N is deprecated as of this release. Starting with
Django 5.0, by default, any date or number displayed by Django will be
localized.
```
Change-Id: I81e1c790fe8df7851f1f91c0851d64af17c7dbdb
Move help_url test from UI tests to integration tests
as the help_url is a setting and integration tests
check for correct settings and UI tests check if
the mechanism for those settings works.
Change-Id: I41d38e1d51151f1e7b78c6591801552b9bf86f8e
Zuul deploy contains newer version of cirros (0.6.3) than our
tests expects (0.6.2).
Error Line too long for doc files. Added D001 to ignore.
Change-Id: I972f4b7db19fb3852c3b9fe055ec514e78655d52
The datetime.utcfromtimestamp() and datetime.utcnow()
are deprecated in Python 3.12.
Replace datetime.utcfromtimestamp() with datetime.fromtimestamp().
Replace datetime.utcnow() with oslo_utils.timeutils.utcnow().
This bumps oslo.utils to 7.0.0.
Change-Id: Ifa8a892aeaece7575a29c979bf48a1c27ec1643f
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Some of the UI tests fails because of elements
in dropdown menu in left panel are not interactable
Change-Id: I6a9a9e608b3862bce888e40d689ccf3fe7b50e3f
The official service type name for cinder is not volume (or volumevN)
but block-storage. Use the block-storage type to detect availability
of cinder, in addition to legacy volume/volumev3 service type.
'block-store' is also a valid alias and should be added as well.
Closes-Bug: #2084794
Change-Id: Ifbeaba033c6dae0fa704a2be568b2f4e2cb7426a
Insufficiently specified selector causes issue in case
when the tooltip of flavor for instance is displayed
Change-Id: Ibd1f696f279bab240e6e3cc216a51783a5f3ddda
If delpoy has more than 1 external network, then creating
instance can fail because auto_ip create a floating ip under
an unreachable external network (different than public).
Change-Id: I1c894f4bde6f3a1d758be550fab946fedaa672e6
The deactivate/reactivate image feature is implemented
as two actions that you can take on an image. The idea
is to toggle between the two actions. Deactivated
images are not downloadable. Protected images cannot
be deactivated. Deactivated images can be reactivated.
Change-Id: If1c36cfea5b66216385f2f2e169084c1b7462b32
test_browse_user_setting_tab
test_browse_change_password_tab
Tests for basic browse of settings and change password tabs as those
tabs are not included in test_browse_left_panel because they are
not defaultly shown in the left browse panel.
Change-Id: I0bc59c4ae8c611868884b9654cb40e3e434b1f41