Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]
Explicit testenv definitions (py27, py36, py37) are dropped
as tox handles them automatically and they are unnecessary.
[1] https://review.opendev.org/#/c/681969/
Change-Id: Iff4bb3e088bb522ee336b324b0756efe84e2fde4
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I0bd5e80168e82868994c15f93b209dd322f93f64
Sem-Ver: feature
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Co-Authored-By: gujin <gu.jin@99cloud.net>
Change-Id: Ic6c96405113b7b95425f04902e13a6f85735a69e
Story: #2005924
Task: #34221
Added a new tab "Progress Details" on notification details page
to display status of the notification.
Depends-On: I9ba787bc8ef9528a7cff5b4c1411dffa454b66d2
Change-Id: I9807bfe3c61f455bf4d34d9da49b0f4945ca9d5a
tox -e releasenotes fails with error:
ImportError: No module named 'masakaridashboard'.
Since release notes are version independent, no need to set version
and release so removed importing version from masakaridashboard.
Change-Id: I2ef95fa2c938e2a8115c0602b53c5af6329a1bac
Horizon and most horizon plugins support Django 2.0 in Rocky.
This commit focuses on passing the unit tests with Django 2.0.
It would be nice if masakari-dashboard team tests it in
real environments.
Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3
Drops older Django unit tests from tox.ini
as horizon dropped Django <=1.10 support in Rocky.
Change-Id: I67907a2460f8472e5a6222210d74b3eed71be064
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
The command line to invoke UT in tox.ini is updated accordingly:
* --ignore-files=masakaridashboard/test/uuidsentinel.py is unnecessary
as this file does not include test cases.
* --verbosity 2 is added to watch the test progress.
* Duplicated {posargs} in 'coverage' env is fixed.
* --exclude-dir in 'coverage' env is dropped as the corresponding
directory does not exist.
Change-Id: I28b97f49ba480d2cbada36026e5bc6932213c689
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Idfe602f9e94ae0adf4643f475a42b4681afb53e5
Story: #2002586
Task: #24310
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I9dc46eef025a128244e54f580c4d67974657e74d
For host update it is showing incorrect message as "Successfully
updated segment". Modified the message as "Successfully updated
host".
Change-Id: Ib0c323a2b16b67ca73d0a0e5333ae69800e0203d
Implemented update host functionality.
Also added test case for update host.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I197440d069a1b5b49a234da8f05a01d45f222f2e
Implemented host detail functionality.
Also Added test case for host detail.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I7e62e4a2b1e15ddeb2a592670518d8358f4a6b1c
Implemented delete host functionality.
Also added test case for delete host.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I8265b4f1af7bb61d15d005ee3785895f678f7d10
Added host panel and implemented add and list host functionality.
Also added test cases that actually not covering the line of code
but tested the add and list host functionally.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I756ab397bd9c84a4520c4ed12a576832784ab41f
Added update segment functionality.
Also added test cases that actually not covering
the line of code but tested the update segment functionally.
Partial-Implements: blueprint masakari-dashboard
Change-Id: Ib0424ee076ff0e8cc8c3ea898d986d32cc195ed2
Implemented segment detail functionality.
Added test cases that actually not covering the line of code
but tested the detail segment functionally.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I214c9df87af3c4ff29abc2e2b30b287b81cd603c
Added delete segment functionality.
Also added test cases that actually not covering
the line of code but tested the delete segment functionally.
Partial-Implements: blueprint masakari-dashboard
Change-Id: Iabf59e92be9de09d2d2fde48fea403b7cd2bcd26
Added segment panel and implemented list and create segment
functionality.Added test cases that actually not covering the
line of code but tested the list and create functionally.
Partial-Implements: blueprint masakari-dashboard
Change-Id: I1366bfdc188f4e0d53fa46f2a6ea3790c9f295fc