...

Text file src/github.com/datawire/ambassador/v2/python/tests/kat/test_ambassador.py

Documentation: github.com/datawire/ambassador/v2/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_basics
     7import t_bufferlimitbytes
     8import t_chunked_length
     9import t_circuitbreaker
    10import t_cluster_tag
    11import t_consul
    12import t_cors
    13import t_dns_type
    14import t_envoy_logs
    15import t_error_response
    16import t_extauth
    17import t_grpc
    18import t_grpc_bridge
    19import t_grpc_stats
    20import t_grpc_web
    21import t_gzip
    22import t_headerrouting
    23import t_headerswithunderscoresaction
    24import t_hosts
    25import t_ingress
    26import t_ip_allow_deny
    27import t_listeneridletimeout
    28import t_loadbalancer
    29import t_logservice
    30import t_lua_scripts
    31import t_mappingtests_default  # mapping tests executed in the default namespace
    32import t_max_req_header_kb
    33import t_no_ui
    34import 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
    35import t_queryparameter_routing
    36import t_ratelimit
    37import t_redirect
    38import t_regexrewrite_forwarding
    39import t_request_header
    40import t_retrypolicy
    41
    42# import t_shadow
    43# import t_stats # t_stats has tests for statsd and dogstatsd. It's too flaky to run all the time.
    44import t_tcpmapping
    45import t_tls
    46import t_tracing
    47from abstract_tests import AmbassadorTest
    48from kat.harness import EDGE_STACK, Runner
    49
    50# pytest will find this because Runner is a toplevel callable object in a file
    51# that pytest is willing to look inside.
    52#
    53# Also note:
    54# - Runner(cls) will look for variants of _every subclass_ of cls.
    55# - Any class you pass to Runner needs to be standalone (it must have its
    56#   own manifests and be able to set up its own world).
    57kat = Runner(AmbassadorTest)

View as plain text