[dashboard][tests] Fix failing unit tests
Bug #1650029 reported by
Felipe Monteiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Undecided
|
Felipe Monteiro |
Bug Description
11 Murano Dashboard unit tests are currently throwing errors (errors=8, failures=3).
For example:
- http://
These errors are related to these tests setting 'horizon_pagesize' in the mock request object, then allowing a Horizon function to calculate the pagesize by assuming it looks at the above value. But (probably) Horizon changed this logic, causing errors. The solution is to mock out the function in which the error is originating.
This is the recent Horizon commit that seems to have caused these unit tests
to now fail: https:/
description: | updated |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/410967
Review: https:/