From 6e607611bd475fd4292e34bde7e6be50c3f247b4 Mon Sep 17 00:00:00 2001 From: Nikita Pastukhov Date: Mon, 16 Dec 2024 13:56:14 +0300 Subject: [PATCH] chore: fix CI --- docs/docs/en/public_api | 2 +- tests/brokers/kafka/test_publish.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/docs/en/public_api b/docs/docs/en/public_api index 2c417d1ba5..9e5bfb42d2 120000 --- a/docs/docs/en/public_api +++ b/docs/docs/en/public_api @@ -1 +1 @@ -./api/ +api \ No newline at end of file diff --git a/tests/brokers/kafka/test_publish.py b/tests/brokers/kafka/test_publish.py index a75e6f1ce8..ac2c866362 100644 --- a/tests/brokers/kafka/test_publish.py +++ b/tests/brokers/kafka/test_publish.py @@ -1,4 +1,5 @@ import asyncio +from typing import Any from unittest.mock import Mock import pytest @@ -11,8 +12,8 @@ @pytest.mark.kafka class TestPublish(BrokerPublishTestcase): - def get_broker(self, apply_types: bool = False): - return KafkaBroker(apply_types=apply_types) + def get_broker(self, apply_types: bool = False, **kwargs: Any) -> KafkaBroker: + return KafkaBroker(apply_types=apply_types, **kwargs) @pytest.mark.asyncio async def test_publish_batch(self, queue: str):