network/tests
Wen Liang b0c8195843 unit tests: Fix python 2.6 compatibility
Introduce Python26CompatTestCase to fix Python 2.6 support for unit
tests:

- Use TestCase.assertRaises on Python 2.6 because it does not support
  TestCase.assertRaisesRegexp

- Use TestCase.assertRaisesRegex on Python 3.2 and newer because it
  deprecates TestCase.assertRaisesRegexp

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2021-10-28 14:20:38 +02:00
..
files Add support for domain-suffix-match 802.1x option 2020-05-04 13:01:41 +02:00
integration fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
playbooks add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
roles/linux-system-roles.network Modularize role 2018-08-15 10:04:47 +02:00
tasks add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
unit unit tests: Fix python 2.6 compatibility 2021-10-28 14:20:38 +02:00
.gitignore Move tests to /tests directory and rename to new naming scheme 2018-05-16 19:48:23 +02:00
covstats fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
ensure_provider_tests.py fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
get_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
get_coverage.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_total_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
git-post-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
git-pre-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
merge_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
module_utils Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
modules Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
tests_802_1x_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_802_1x_updated_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_auto_gateway_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_auto_gateway_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_bond_deprecated_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_deprecated_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_bond_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_bridge_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bridge_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_change_indication_on_repeat_run.yml nm: Fix the incorrect change indication for dns option 2021-07-05 20:15:57 +08:00
tests_default.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_default_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_default_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_dummy_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_eth_dns_support_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_eth_pci_address_match_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethernet_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethernet_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_coalesce_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_coalesce_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_features_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_features_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_ring_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_ring_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_helpers_and_asserts.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_integration_pytest.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_ipv6_disabled_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ipv6_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ipv6_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_provider_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_reapply_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_regression_nm.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_team_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_team_plugin_installation_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_unit.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
tests_vlan_mtu_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_vlan_mtu_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_plugin_installation_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_wpa3_owe_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_wpa3_sae_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00