Remove main() and __main__ from tests. 77/47677/8
authorEmma Foley <emma.l.foley@intel.com>
Thu, 23 Nov 2017 00:00:47 +0000 (00:00 +0000)
committerEmma Foley <emma.l.foley@intel.com>
Fri, 2 Mar 2018 16:52:36 +0000 (16:52 +0000)
commit6cd3aed0077d6cced71417a48f92527ef1ecbd3e
treed54ef8013a754c4dd834b74bb35030abc94abedc
parenta74ad5a1ec1a73389c5983440b2031b0bc72cea1
Remove main() and __main__ from tests.

Removes the unnecessary main() functions from tests.
Also removes shebang (#!) where it appears at the top of files.
JIRA: YARDSTICK-861

Change-Id: I79180d1eb9c5bce640142dd62ce28c7437c1b210
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
120 files changed:
tests/unit/network_services/collector/test_publisher.py
tests/unit/network_services/collector/test_subscriber.py
tests/unit/network_services/helpers/test_cpu.py
tests/unit/network_services/helpers/test_dpdkbindnic_helper.py
tests/unit/network_services/helpers/test_samplevnf_helper.py
tests/unit/network_services/libs/ixia_libs/test_IxNet.py
tests/unit/network_services/nfvi/test_resource.py
tests/unit/network_services/traffic_profile/test_base.py
tests/unit/network_services/traffic_profile/test_fixed.py
tests/unit/network_services/traffic_profile/test_http.py
tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py
tests/unit/network_services/traffic_profile/test_rfc2544.py
tests/unit/network_services/traffic_profile/test_trex_traffic_profile.py
tests/unit/network_services/vnf_generic/test_vnfdgen.py
tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_base.py
tests/unit/network_services/vnf_generic/vnf/test_cgnapt_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py
tests/unit/network_services/vnf_generic/vnf/test_prox_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_tg_ping.py
tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py
tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_trex.py
tests/unit/network_services/vnf_generic/vnf/test_tg_trex.py
tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py
tests/unit/network_services/vnf_generic/vnf/test_vfw_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_vpe_vnf.py
yardstick/tests/unit/apiserver/resources/test_env_action.py
yardstick/tests/unit/apiserver/utils/test_influx.py
yardstick/tests/unit/benchmark/contexts/test_heat.py
yardstick/tests/unit/benchmark/contexts/test_kubernetes.py
yardstick/tests/unit/benchmark/contexts/test_model.py
yardstick/tests/unit/benchmark/core/test_report.py
yardstick/tests/unit/benchmark/core/test_testcase.py
yardstick/tests/unit/benchmark/runner/test_base.py
yardstick/tests/unit/benchmark/scenarios/availability/test_attacker_baremetal.py
yardstick/tests/unit/benchmark/scenarios/availability/test_attacker_general.py
yardstick/tests/unit/benchmark/scenarios/availability/test_attacker_process.py
yardstick/tests/unit/benchmark/scenarios/availability/test_basemonitor.py
yardstick/tests/unit/benchmark/scenarios/availability/test_baseresultchecker.py
yardstick/tests/unit/benchmark/scenarios/availability/test_director.py
yardstick/tests/unit/benchmark/scenarios/availability/test_monitor_general.py
yardstick/tests/unit/benchmark/scenarios/availability/test_monitor_multi.py
yardstick/tests/unit/benchmark/scenarios/availability/test_monitor_process.py
yardstick/tests/unit/benchmark/scenarios/availability/test_operation_general.py
yardstick/tests/unit/benchmark/scenarios/availability/test_result_checker_general.py
yardstick/tests/unit/benchmark/scenarios/availability/test_util.py
yardstick/tests/unit/benchmark/scenarios/compute/test_cachestat.py
yardstick/tests/unit/benchmark/scenarios/compute/test_computecapacity.py
yardstick/tests/unit/benchmark/scenarios/compute/test_cpuload.py
yardstick/tests/unit/benchmark/scenarios/compute/test_cyclictest.py
yardstick/tests/unit/benchmark/scenarios/compute/test_lmbench.py
yardstick/tests/unit/benchmark/scenarios/compute/test_memload.py
yardstick/tests/unit/benchmark/scenarios/compute/test_plugintest.py
yardstick/tests/unit/benchmark/scenarios/compute/test_qemumigrate.py
yardstick/tests/unit/benchmark/scenarios/compute/test_ramspeed.py
yardstick/tests/unit/benchmark/scenarios/compute/test_spec_cpu.py
yardstick/tests/unit/benchmark/scenarios/compute/test_spec_cpu_for_vm.py
yardstick/tests/unit/benchmark/scenarios/compute/test_unixbench.py
yardstick/tests/unit/benchmark/scenarios/dummy/test_dummy.py
yardstick/tests/unit/benchmark/scenarios/lib/test_add_memory_load.py
yardstick/tests/unit/benchmark/scenarios/lib/test_attach_volume.py
yardstick/tests/unit/benchmark/scenarios/lib/test_check_connectivity.py
yardstick/tests/unit/benchmark/scenarios/lib/test_check_numa_info.py
yardstick/tests/unit/benchmark/scenarios/lib/test_check_value.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_flavor.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_image.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_keypair.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_network.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_port.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_router.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_sec_group.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_server.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_subnet.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_volume.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_flavor.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_floating_ip.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_image.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_keypair.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_port.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_router.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_router_gateway.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_router_interface.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_server.py
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_volume.py
yardstick/tests/unit/benchmark/scenarios/lib/test_detach_volume.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_migrate_target_host.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_numa_info.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_server.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_server_ip.py
yardstick/tests/unit/benchmark/scenarios/networking/test_iperf3.py
yardstick/tests/unit/benchmark/scenarios/networking/test_netperf.py
yardstick/tests/unit/benchmark/scenarios/networking/test_netperf_node.py
yardstick/tests/unit/benchmark/scenarios/networking/test_netutilization.py
yardstick/tests/unit/benchmark/scenarios/networking/test_networkcapacity.py
yardstick/tests/unit/benchmark/scenarios/networking/test_nstat.py
yardstick/tests/unit/benchmark/scenarios/networking/test_ping.py
yardstick/tests/unit/benchmark/scenarios/networking/test_ping6.py
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen.py
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk_throughput.py
yardstick/tests/unit/benchmark/scenarios/networking/test_sfc.py
yardstick/tests/unit/benchmark/scenarios/networking/test_vsperf.py
yardstick/tests/unit/benchmark/scenarios/networking/test_vsperf_dpdk.py
yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py
yardstick/tests/unit/benchmark/scenarios/storage/test_bonnie.py
yardstick/tests/unit/benchmark/scenarios/storage/test_fio.py
yardstick/tests/unit/benchmark/scenarios/storage/test_storagecapacity.py
yardstick/tests/unit/benchmark/scenarios/storage/test_storperf.py
yardstick/tests/unit/common/test_httpClient.py
yardstick/tests/unit/common/test_template_format.py
yardstick/tests/unit/common/test_yaml_loader.py
yardstick/tests/unit/dispatcher/test_influxdb.py
yardstick/tests/unit/orchestrator/test_kubernetes.py
yardstick/tests/unit/test_cmd/commands/test_env.py
yardstick/tests/unit/test_cmd/commands/test_testcase.py
yardstick/tests/unit/test_cmd/test_NSBperf.py
yardstick/tests/unit/test_ssh.py