def test_api_config_customised(): config = Config.load_yaml(EXAMPLE_VALID_YAML) assert config.api("my.api").event_transport.redis.batch_size == 1
def test_api_config_default(): config = Config.load_yaml(EXAMPLE_VALID_YAML) assert config.api("foo").event_transport.redis.batch_size == 50