As suggested in the review comments for https://review.openstack.org/#/c/115368, it would be appropriate to implement this via a context manager or your suggestion there of a decorator like:
@test.suppress_log(logging.CRITICAL, ("class1", "class2")) def test_method(self):
As suggested in the review comments for https:/ /review. openstack. org/#/c/ 115368, it would be appropriate to implement this via a context manager or your suggestion there of a decorator like:
@test.suppress_ log(logging. CRITICAL, ("class1", "class2"))
def test_method(self):