Skip to content

Commit

Permalink
feat: ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-frolov committed Dec 20, 2024
1 parent 4c26157 commit b9f45f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/prometheus/kafka/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def test_get_publish_destination_name_from_cmd(self, queue: str) -> None:


class TestKafkaMetricsSettingsProvider(
KafkaPrometheusSettings, LocalBaseKafkaMetricsSettingsProviderTestcase
KafkaPrometheusSettings,
LocalBaseKafkaMetricsSettingsProviderTestcase,
):
def test_get_consume_attrs_from_message(self, queue: str) -> None:
body = b"Hello"
Expand All @@ -46,7 +47,8 @@ def test_get_consume_attrs_from_message(self, queue: str) -> None:


class TestBatchKafkaMetricsSettingsProvider(
BatchKafkaPrometheusSettings, LocalBaseKafkaMetricsSettingsProviderTestcase
BatchKafkaPrometheusSettings,
LocalBaseKafkaMetricsSettingsProviderTestcase,
):
def test_get_consume_attrs_from_message(self, queue: str) -> None:
body = [b"Hi ", b"again, ", b"FastStream!"]
Expand Down

0 comments on commit b9f45f6

Please sign in to comment.