test tree restructured

Merged Wlodzimierz Wencel requested to merge test-restructure into master

assumptions of new layout:

  • no more top directory dhcpv4 and dhcpv6
  • basic v4 and v6 tests that are mostly based on RFC are now in dhcp/protocol
  • dhcp/hooks for hooks
  • dhcp/v4 and dhcp/v6 is for v4 or v6 specific tests
  • length of file names are reduced
  • a lot of tests were migrated to one file e.g. most hooks tests or standard options

New layout:

tests
|-- HA
|   |-- __init__.py
|   |-- steps.py
|   |-- test_fail_detection.py
|   |-- test_states.py
|   |-- test_sync.py
|   `-- test_tls.py
|-- config_backend
|   |-- __init__.py
|   |-- test_auto_reload.py
|   |-- test_cb_v4_cmds_api.py
|   |-- test_cb_v4_cmds_api_server_tag.py
|   |-- test_cb_v4_options.py
|   |-- test_cb_v4_server_tag.py
|   |-- test_cb_v6_cmds_api.py
|   |-- test_cb_v6_cmds_api_server_tag.py
|   |-- test_cb_v6_options.py
|   |-- test_cb_v6_server_tag.py
|   |-- test_class.py
|   |-- test_fixed_fields.py
|   |-- test_globals.py
|   |-- test_interface_id.py
|   |-- test_options4.py
|   |-- test_options6.py
|   |-- test_prefix_delegation.py
|   |-- test_rapid_commit.py
|   |-- test_relay.py
|   |-- test_reservations.py
|   `-- test_timers.py
|-- ddns
|   |-- __init__.py
|   |-- test_ddns4.py
|   |-- test_ddns4_non_global.py
|   |-- test_ddns6.py
|   |-- test_ddns6_non_global.py
|   |-- test_ddns_control_channel.py
|   |-- test_ddns_gss_tsig.py
|   |-- test_ddns_lease4_del.py
|   |-- test_ddns_lease6_del.py
|   `-- test_ddns_sanitizer.py
|-- dhcp
|   |-- __init__.py
|   |-- hooks
|   |   |-- __init__.py
|   |   |-- leases_cmds
|   |   |   |-- __init__.py
|   |   |   |-- test_lease_get_by.py
|   |   |   |-- test_lease_get_page.py
|   |   |   |-- test_lease_user_context.py
|   |   |   |-- test_leases_cmds.py
|   |   |   `-- test_leases_cmds_legal_logging.py
|   |   |-- test_all_hooks.py
|   |   |-- test_class_cmds.py
|   |   |-- test_flex_id.py
|   |   |-- test_flex_options.py
|   |   |-- test_hosts_cmds.py
|   |   |-- test_leasequery.py
|   |   |-- test_legal_log.py
|   |   |-- test_network_cmds.py
|   |   |-- test_radius.py
|   |   |-- test_subnet_cmds.py
|   |   `-- user_chk
|   |       |-- __init__.py
|   |       |-- test_v4_user_check_general.py
|   |       |-- test_v4_user_check_general_logs.py
|   |       |-- test_v6_user_check_general.py
|   |       |-- test_v6_user_check_general_logs.py
|   |       |-- v4_outcome_1.txt
|   |       |-- v4_outcome_2.txt
|   |       |-- v4_registry_1.txt
|   |       |-- v6_outcome_1.txt
|   |       |-- v6_outcome_2.txt
|   |       `-- v6_registry_1.txt
|   |-- protocol
|   |   |-- __init__.py
|   |   |-- test_standard_options.py
|   |   |-- test_v4_decline.py
|   |   |-- test_v4_fields.py
|   |   |-- test_v4_options_inform.py
|   |   |-- test_v4_rai_options.py
|   |   |-- test_v4_relay.py
|   |   |-- test_v4_release.py
|   |   |-- test_v4_request.py
|   |   |-- test_v4_stateless.py
|   |   |-- test_v6_address.py
|   |   |-- test_v6_basic.py
|   |   |-- test_v6_confirm.py
|   |   |-- test_v6_rapid.py
|   |   |-- test_v6_rebind.py
|   |   |-- test_v6_relay.py
|   |   |-- test_v6_release.py
|   |   |-- test_v6_renew.py
|   |   |-- test_v6_stateless.py
|   |   `-- test_vendor_options.py
|   |-- test_backend_migration.py
|   |-- test_ca_control_channel.py
|   |-- test_logging.py
|   |-- test_options.py
|   |-- test_shared_networks.py
|   |-- test_status_get.py
|   |-- test_subnet_id_sanity_check.py
|   |-- v4
|   |   |-- __init__.py
|   |   |-- cc
|   |   |   |-- __init__.py
|   |   |   |-- test_command_control_http.py
|   |   |   |-- test_command_control_keashell.py
|   |   |   `-- test_command_control_socket.py
|   |   |-- classes
|   |   |   |-- __init__.py
|   |   |   |-- test_v4_classes.py
|   |   |   |-- test_v4_classes_expressions.py
|   |   |   |-- test_v4_classes_ipxe.py
|   |   |   `-- test_v4_default_classes.py
|   |   |-- db_upgrade
|   |   |   |-- __init__.py
|   |   |   |-- my_db_v4.sql
|   |   |   |-- pg_db_v4.sql
|   |   |   |-- test_db_mysql_upgrade.py
|   |   |   `-- test_db_pgsql_upgrade.py
|   |   |-- reservations
|   |   |   |-- __init__.py
|   |   |   |-- test_hr_address.py
|   |   |   |-- test_hr_address_global.py
|   |   |   |-- test_hr_address_mysql.py
|   |   |   |-- test_hr_address_pgsql.py
|   |   |   |-- test_hr_conflicts.py
|   |   |   |-- test_hr_hostname.py
|   |   |   `-- test_hr_relay.py
|   |   |-- test_bootp.py
|   |   |-- test_cve2019v4.py
|   |   |-- test_lease_cache.py
|   |   |-- test_server_conf.py
|   |   `-- test_statistics.py
|   `-- v6
|       |-- __init__.py
|       |-- cc
|       |   |-- __init__.py
|       |   |-- test_command_control_http.py
|       |   |-- test_command_control_keashell.py
|       |   |-- test_command_control_socket.py
|       |   `-- test_lease_get_by.py
|       |-- classes
|       |   |-- __init__.py
|       |   |-- test_v6_classes.py
|       |   |-- test_v6_classes_expressions.py
|       |   |-- test_v6_default_classes.py
|       |   `-- test_v6_ipxe.py
|       |-- db_upgrade
|       |   |-- __init__.py
|       |   |-- my_db_v6.sql
|       |   |-- pg_db_v6.sql
|       |   |-- test_db_mysql_upgrade.py
|       |   `-- test_db_pgsql_upgrade.py
|       |-- reservations
|       |   |-- __init__.py
|       |   |-- test_hr.py
|       |   |-- test_hr_address_conflicts.py
|       |   |-- test_hr_address_conflicts_cql.py
|       |   |-- test_hr_address_conflicts_mysql.py
|       |   |-- test_hr_address_conflicts_pgsql.py
|       |   |-- test_hr_address_global.py
|       |   |-- test_hr_duid.py
|       |   |-- test_hr_hostname.py
|       |   |-- test_hr_mac.py
|       |   |-- test_hr_mysql.py
|       |   |-- test_hr_options.py
|       |   |-- test_hr_pgsql.py
|       |   `-- test_hr_prefix_conflicts.py
|       |-- test_cve2015.py
|       |-- test_cve2019.py
|       |-- test_lease_cache.py
|       |-- test_mac_in_dhcp6.py
|       |-- test_movingclient.py
|       |-- test_multiple_ia.py
|       |-- test_prefix_delegation.py
|       |-- test_rsoo.py
|       |-- test_serverid.py
|       `-- test_status_code.py
|-- iscdhcp
|   |-- __init__.py
|   |-- v4
|   |   |-- ddns
|   |   |   |-- __init__.py
|   |   |   |-- test_ddns_no_tsig_release.py
|   |   |   |-- test_ddns_no_tsig_release_hostname.py
|   |   |   |-- test_ddns_no_tsig_request.py
|   |   |   |-- test_ddns_no_tsig_request_hostname.py
|   |   |   |-- test_ddns_tsig_release.py
|   |   |   `-- test_ddns_tsig_request.py
|   |   |-- failover
|   |   |   `-- test_dhcpd_failover_config.py
|   |   |-- test_billing_class.py
|   |   |-- test_dhcpd_keyword_dhcp-cache-threshold.py
|   |   |-- test_dhcpd_keyword_dhcp-cache-threshold_billing_class.py
|   |   |-- test_dhcpd_keyword_echo-client-id.py
|   |   |-- test_dhcpd_keyword_use-host-decl-names.py
|   |   `-- test_dhcpd_keyword_use-host-decl-names_ddns.py
|   `-- v6
|       |-- ddns
|       |   |-- test_ddns_no_tsig_release.py
|       |   |-- test_ddns_no_tsig_request.py
|       |   |-- test_ddns_tsig_release.py
|       |   `-- test_ddns_tsig_request.py
|       |-- test_dhcpd_keyword_ddns_forward.py
|       |-- test_dhcpd_keyword_ddns_reverse.py
|       |-- test_dhcpd_keyword_default-lease-time.py
|       |-- test_dhcpd_keyword_fixed-address6.py
|       |-- test_dhcpd_keyword_log-facility.py
|       |-- test_dhcpd_keyword_log-threshold.py
|       |-- test_dhcpd_keyword_preferred-lifetime.py
|       |-- test_dhcpd_keyword_prefix-length-mode.py
|       |-- test_dhcpd_keyword_server-duid.py
|       |-- test_dhcpd_keyword_valid-lifetime.py
|       |-- test_dhcpd_lease-counters.py
|       |-- test_dhcpd_rt35378_prefix-length-mismatch.py
|       |-- test_dhcpd_rt45780_change-prefix-len.py
|       |-- test_dhcpd_unicast-option.py
|       `-- test_two_servers.py
|-- other_tests
|   |-- README
|   |-- full_disk.py
|   |-- v4
|   |   `-- test_host_reservation_address_mysql.py
|   `-- v6
|       |-- test_rfc7550.py
|       `-- test_statistics.py
Edited by Wlodzimierz Wencel

Merge request reports