7adb3f548b
1.As mentioned in [1], we should avoid using dict.iteritems() to achieve iterators. We can use dict.items instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.htmls Change-Id: Idba02079d76b529b344ae96cebb7d6161c0ecbc6 |
||
---|---|---|
.. | ||
pages | ||
regions | ||
tests | ||
__init__.py | ||
basewebobject.py | ||
config.py | ||
decorators.py | ||
helpers.py | ||
horizon.conf | ||
README.rst | ||
video_recorder.py |
Horizon Integration Tests
Horizon's integration tests treat Horizon as a black box.
Running the integration tests
Set up an OpenStack server
Update the configuration file at horizon.conf or add overrides to that file in local-horizon.conf which is ignored by git.
Run the tests. :
$ ./run_tests.sh --integration
More information
https://wiki.openstack.org/wiki/Horizon/Testing/UI
https://wiki.mozilla.org/QA/Execution/Web_Testing/Docs/Automation/StyleGuide#Page_Objects