]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Test_backup_swift: Don't leak notifications
authorEric Harney <eharney@redhat.com>
Tue, 6 Oct 2015 20:53:31 +0000 (16:53 -0400)
committerEric Harney <eharney@goesboink.net>
Wed, 7 Oct 2015 05:29:54 +0000 (01:29 -0400)
commitbb50cd7850c2208ecb1b16a527423b745122aada
tree43d8827e0d198eab91826dbb3b9b8854b174bf99
parent284eb741995e76ff18e4a1ef8a1a3ce99a9afcfd
Test_backup_swift: Don't leak notifications

At least some of these tests can leak notifications
such as backup.createprogress.

Mock the send notification methods to ensure this
doesn't happen.

This likely indicates that some restructuring of these
tests is needed, but patching this long-standing issue
on its own is worthwhile.

Partial-Bug: #1501745

Change-Id: I91cb3bef18a8b830fcc3b3589afe6b6975bc0c2b
cinder/tests/unit/test_backup_swift.py