commit d76a61346ebc0d7eb860fe72230ea3a9d1c88022
Author: Steve McLellan <email address hidden>
Date: Tue Nov 17 12:36:31 2015 -0600
Make unit testing less reliant on HTML fragments
Some tests check for equality with quite large HTML fragments, when
the test is only interested in certain specific things (and not style
changes etc). This patch alters some of those tests (specifically ones
that were tripping up a dependent patch, but can be expanded) to check
the context data of the response, since the actual rendering is tested
by horizon's tests.
It also adds tests to check context data in 'normal' circumstances so
that no test coverage should be lost by this.
Reviewed: https:/ /review. openstack. org/246549 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=d76a61346eb c0d7eb860fe7223 0ea3a9d1c88022
Committed: https:/
Submitter: Jenkins
Branch: master
commit d76a61346ebc0d7 eb860fe72230ea3 a9d1c88022
Author: Steve McLellan <email address hidden>
Date: Tue Nov 17 12:36:31 2015 -0600
Make unit testing less reliant on HTML fragments
Some tests check for equality with quite large HTML fragments, when
the test is only interested in certain specific things (and not style
changes etc). This patch alters some of those tests (specifically ones
that were tripping up a dependent patch, but can be expanded) to check
the context data of the response, since the actual rendering is tested
by horizon's tests.
It also adds tests to check context data in 'normal' circumstances so
that no test coverage should be lost by this.
Change-Id: I09be82058edc92 3521ffb4c022515 845a18b158d
Closes-Bug: #1517084