It was a very bad idea to name the argument to fetch a specific
version from Zanata as 'version'.
At the moment I get this error mesage:
argparse.ArgumentError: argument --version: conflicting option string(s): --version
Change-Id: I662a218a2713fcefd3a624a4cc2a907a7fc1434b
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
This commit improves test/unit/api/rest/test_network.py.
Change-Id: I1a1e6b69ac9334b05fc88b4568e823ae490a0b0b
Partial-Bug: #1752917
Some entries in lower-constraints.txt are incompatible
with the current requirements.txt.
requirements repo now implements lower-constraints check,
so it is time to sync these two.
Depends-On: https://review.openstack.org/#/c/557927/
Change-Id: I99124afd2b88b80da21df96c16baeef49b31e097
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
In Nova Compute API microversion 2.19, you can specify a description
attribute when creating, rebuilding, or updating a server instance. This
description can be retrieved by getting server details, or list details
for servers, this patch adds support for this attribute for instance in
horizon.
This patch adds description for instance update/rebuild
Change-Id: I1c561607551fe6ed521772688b643cb27400e24e
Closes-bug: #1753661
To setup proper navigation to side bar and breadcrumb,
this patch adds new 'defaultIndexUrl' parameter and
its getter/setter into resource-type-service.
The 'defaultIndexUrl' parameter makes details view
enable to set navigations properly in Angular-side.
Each panel module should set URL for default index view
using 'defaultIndexUrl' parameter. So, this patch adds
the `defaultIndexUrl` parameter into existing panel
modules that have Angularized details view.
Also, if query string has 'nav' parameter, the
navigation setting will be overwitten with it.
This URL overwriting may be used by panels that has
multiple index panels, like images panel.
Change-Id: I2edd44e55eb10114e5282cec1762e9635881f733
Closes-Bug: #1746706
We don't need to keep a list of older releases since it can be found in
git history and stable/* branches.
Change-Id: I341391e1808e41db84444ba41de244b15884adb7
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
- Unnecessary usage of test.mock_factory()
- Unnecesary setUp()
- Test data should not be accessed directly via TestData
This commit improves test/unit/api/rest/test_neutron.py.
Change-Id: I8634b0f72fe089e0da4cda8a0ba5af56ffb856c6
Partial-Bug: #1752917
This patch changes mox to mock for the following test modules:
* openstack_dashboard/test/unit/api/test_network.py
* openstack_dashboard/test/unit/api/test_neutron.py
* openstack_dashboard/test/unit/api/rest/test_network.py
* openstack_dashboard/test/unit/api/rest/test_neutron.py
Partially-Implements: blueprint mock-framework-in-unit-tests
Change-Id: Ib97fb1c06a883fb9fd5ce39b8fe2362a88135692
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
- Some expected status code was 200 wrongly because mock.Mokc()
object was returned from mocked methods. 204 is the correct
response status code.
Change-Id: Ib3d6af27e94fb5577e259078d0215b1ace8617e1
Partial-Bug: #1752917
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
---
horizon specific change:
* Django minimum version is bumped to >=1.11 as horizon rocky
dropped Django 1.8-1.10 support.
* django-babel needs to be bumped to 0.6.2 to support Django 2.0
8762ff5dc0
* nose-exclude needs to be bumped to 0.5.0 to run horizon unit tests
properly. According to my test, 0.4.0 also works but this is
a testing dependency, so we don't need to care multiple versions much.
Otherwise only one test is run for openstack_dashboard unit tests.
https://review.openstack.org/555402 allows us to bump lower requirements.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I73c3e4531c57d015f6016ca00b056a6fd0d8fc1a
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>