...

Text file src/github.com/emissary-ingress/emissary/v3/python/tests/kat/test_ambassador.py

Documentation: github.com/emissary-ingress/emissary/v3/python/tests/kat

     1import sys
     2
     3import pytest
     4
     5# Import all the real tests from other files, to make it easier to pick and choose during development.
     6import t_active_health_check
     7import t_basics
     8import t_bufferlimitbytes
     9import t_chunked_length
    10import t_circuitbreaker
    11import t_cluster_tag
    12import t_consul
    13import t_cors
    14import t_dns_type
    15import t_envoy_logs
    16import t_error_response
    17import t_extauth
    18import t_grpc
    19import t_grpc_bridge
    20import t_grpc_stats
    21import t_grpc_web
    22import t_gzip
    23import t_headerrouting
    24import t_headerswithunderscoresaction
    25import t_hosts
    26import t_ingress
    27import t_ip_allow_deny
    28import t_listeneridletimeout
    29import t_loadbalancer
    30import t_logservice
    31import t_lua_scripts
    32import t_mappingtests_default  # mapping tests executed in the default namespace
    33import t_max_req_header_kb
    34import t_no_ui
    35import t_plain  # t_plain include t_mappingtests_plain and t_optiontests as imports; these tests require each other and need to be executed as a set
    36import t_queryparameter_routing
    37import t_ratelimit
    38import t_redirect
    39import t_regexrewrite_forwarding
    40import t_request_header
    41import t_retrypolicy
    42
    43# import t_shadow
    44# import t_stats # t_stats has tests for statsd and dogstatsd. It's too flaky to run all the time.
    45import t_tcpmapping
    46import t_tls
    47import t_tracing
    48from abstract_tests import AmbassadorTest
    49from kat.harness import EDGE_STACK, Runner
    50
    51# pytest will find this because Runner is a toplevel callable object in a file
    52# that pytest is willing to look inside.
    53#
    54# Also note:
    55# - Runner(cls) will look for variants of _every subclass_ of cls.
    56# - Any class you pass to Runner needs to be standalone (it must have its
    57#   own manifests and be able to set up its own world).
    58kat = Runner(AmbassadorTest)

View as plain text