horizon/openstack_dashboard/test
Akihiro Motoki 6a56497180 Add assert_mock_multiple_calls_with_same_arguments test helper
During the migration from mox to mock, it turns out there is case where
some method is called multiple times with same parameters and
it is common in openstack dashboard tests.

This commit adds assert_mock_multiple_calls_with_same_arguments assertion
method to ensure to check both call_count and arguments of all calls.

Note that assert_has_calls just checks a subset of called arguments
so it is better to check arguments of all calls.

Part of blueprint mock-framework-in-unit-tests
Change-Id: Id939e61718b0405a02a22a5ec8e55eda9554c545
2018-02-20 08:59:02 +09:00
..
api_tests openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
integration_tests Drop Heat related code from horizon 2017-12-05 07:38:55 +00:00
jasmine Remove unused jasmine_tests.py 2015-05-13 12:39:00 -06:00
selenium openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
templates Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
test_data Merge "Use nova os-services to retrieve host list" 2018-02-07 05:03:10 +00:00
test_panels Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
test_plugins Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
unit Switch swift API tests to mock 2018-02-16 13:25:45 +00:00
__init__.py Revamp of testing machinery. 2012-04-23 22:24:21 -07:00
error_pages_urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
extensible_header_urls.py Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
helpers.py Add assert_mock_multiple_calls_with_same_arguments test helper 2018-02-20 08:59:02 +09:00
settings.py Views accessible via url even if user doesn't match policy rules 2018-02-02 21:24:33 +09:00
urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00