Refactored api fetch tests to use mocked requests 73/39973/3
authorIlia Abashin <abashinos@gmail.com>
Wed, 23 Aug 2017 09:56:18 +0000 (12:56 +0300)
committerIlia Abashin <abashinos@gmail.com>
Wed, 23 Aug 2017 10:17:07 +0000 (13:17 +0300)
commit13767be99f8815395be01edc5c97735cdc66590b
treebbfd7c2176344f1b8f6bc83f5e92f0e91cfaab79
parent6519f3a2723827b7785fd13690b4c53b28eb325d
Refactored api fetch tests to use mocked requests

Also fixed some mocking logic

Change-Id: I826fc1c03af1244cf10d9edee37c7c8f732c3602
Signed-off-by: Ilia Abashin <abashinos@gmail.com>
27 files changed:
app/test/fetch/api_fetch/test_api_access.py
app/test/fetch/api_fetch/test_api_fetch_availability_zone.py
app/test/fetch/api_fetch/test_api_fetch_host_instances.py
app/test/fetch/api_fetch/test_api_fetch_networks.py
app/test/fetch/api_fetch/test_api_fetch_ports.py
app/test/fetch/api_fetch/test_api_fetch_project_hosts.py
app/test/fetch/api_fetch/test_api_fetch_projects.py
app/test/fetch/api_fetch/test_api_fetch_regions.py
app/test/fetch/cli_fetch/test_cli_access.py
app/test/fetch/cli_fetch/test_cli_fetch_host_pnics.py
app/test/fetch/cli_fetch/test_cli_fetch_host_pnics_vpp.py
app/test/fetch/cli_fetch/test_cli_fetch_host_vservices.py
app/test/fetch/cli_fetch/test_cli_fetch_instance_vnics.py
app/test/fetch/cli_fetch/test_cli_fetch_instance_vnics_ovs.py
app/test/fetch/cli_fetch/test_cli_fetch_instance_vnics_vpp.py
app/test/fetch/cli_fetch/test_cli_fetch_vconnectors_ovs.py
app/test/fetch/cli_fetch/test_cli_fetch_vconnectors_vpp.py
app/test/fetch/cli_fetch/test_cli_fetch_vservice_vnics.py
app/test/fetch/db_fetch/test_db_access.py
app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py
app/test/fetch/db_fetch/test_db_fetch_aggregates.py
app/test/fetch/db_fetch/test_db_fetch_instances.py
app/test/fetch/db_fetch/test_db_fetch_oteps.py
app/test/fetch/db_fetch/test_db_fetch_vedges_ovs.py
app/test/fetch/db_fetch/test_db_fetch_vedges_vpp.py
app/test/fetch/db_fetch/test_fetch_host_network_agents.py
app/test/fetch/test_fetch.py