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/
Deploy an environment 'foo', then go the Environments->foo->Deployment
History->Show Details. Horizon throws the error 'ValueError: Need 2
values to unpack in for loop; got 1.' Same fix that was provided for bug
1703197 applies here.
Change-Id: I09bac0f2d5197482cf8bc034099a2afeb5db82c2
Closes-Bug: #1724571
Deploy a environment, then go the environment details page,
click the services name link, will gives the error:
ValueError: Need 2 values to unpack in for loop; got 1.
This patch fix this error.
Change-Id: Id8c601b20eb9159d580f2e8fbfb1ee3967a00784
Closes-bug: #1703197
Added new view for browsing through all deployments for all
environments in a tenant.
Change-Id: I64bce83be69a22e52994b7f51b96f3bdafbc6867
Partially-implements: blueprint improve-deployment-log-browsing
Closes-Bug: #1497261
Depends-On: I80c02a8cfd82260f097474bb512f693aa6734655
Currently, 11 unit tests are failing because Horizon
changed some of its behavior related to how pagesizes are
calculated from request objects.
This is the commit in Horizon that appears to have caused things
to break in these unit tests:
https://review.openstack.org/#/c/155939/13/horizon/utils/functions.py
This fix mocks out the function in Horizon that does the pagesize
calculation.
Change-Id: I983e83033b8eab25f79f505d2e57ef1e6b86873b
Closes-Bug: #1650029