Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I5ad2c7a44dee2e19ab2576f206c69d94126a22b1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
nose is not actively maintained now and Django default test runner
seems to have enough features.
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.
And murano-dashboard using unittest instead of testtools.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I419e0e166ea88c3ab1203f35ffa00928cf94acb1
Depends-On: https://review.openstack.org/599156/
Show them in the description section right under the Flavor field
title (as quota usages + predicted increment progress bar).
Co-Authored-By: Timur Sufiev <tsufiev@gmail.com>
Co-Authored-By: Artem Tiumentcev <darland.maik@gmail.com>
Change-Id: I842cbce209ea90ab715d2e50824296a19c202a76
django-formtools uses POST to pass data from one wizard step to another.
In I10e61164b007de10552513eb71267297aeb9bf16 we replaced deprecated
REQUEST with GET. This means, that Back button of the wizard would not
work correctly (keep the previously entered values).
This commit restores correct method.
See http://django-formtools.readthedocs.io/en/latest/_modules/formtools/wizard/views.html
for complete docs
Related-Bug: 1696753
Change-Id: Ie9223e160ef7185ef63dbf1c3831c6354f0834d9
The latest murano dashboard code requires django version 1.9.13.
This django version has removed the REQUEST attribute from the
WSGIRequest object. There is code in the murano dashboard (in
2 places) where it still uses this attribute. The changes here
remove this attribute.
Change-Id: I10e61164b007de10552513eb71267297aeb9bf16
Closes-Bug: 1696753