BewareMyPower commented on code in PR #15353:
URL: https://github.com/apache/pulsar/pull/15353#discussion_r860523139
##########
pulsar-client-cpp/python/pulsar_test.py:
##########
@@ -1179,6 +1179,16 @@ def test_shutdown_client(self):
# Expected
pass
+ def test_listener_name_client(self):
+ client = Client(self.serviceUrl, listener_name='test')
+ try:
+ producer =
client.create_producer("persistent://public/default/partitioned_topic_name_test")
+ self.assertTrue(False)
Review Comment:
Use `self.fail()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]