In the test test_shared_subscriptions where it adds the second client connection / subscription, the test checks the callback result of aclient and not bclient.
As in line : 1148
self.waitfor(callback.subscribeds, 1, 3)
Should be
self.waitfor(callback2.subscribeds, 1, 3)
What happens is that the test falls through, since the original callback is valid it doesn't wait for the second connection and as a result doesn't clear the callbacks in the next 2 lines resulting in false positives
In the test test_shared_subscriptions where it adds the second client connection / subscription, the test checks the callback result of aclient and not bclient.
As in line : 1148 self.waitfor(callback.subscribeds, 1, 3)
Should be self.waitfor(callback2.subscribeds, 1, 3)
What happens is that the test falls through, since the original callback is valid it doesn't wait for the second connection and as a result doesn't clear the callbacks in the next 2 lines resulting in false positives
Complete code block follows