We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2ccb1 commit 0259502Copy full SHA for 0259502
test/conftest.py
@@ -119,7 +119,7 @@ def factory(**kafka_admin_client_params):
119
@pytest.fixture
120
def topic(kafka_broker, request):
121
"""Return a topic fixture"""
122
- topic_name = '%s_%s' % (request.node.name, random_string(10))
+ topic_name = f'{request.node.originalname}_{random_string(10)}'
123
kafka_broker.create_topics([topic_name])
124
return topic_name
125
0 commit comments