Merge "Quiet test output when running test_utils.py in isolation"
This commit is contained in:
commit
b10f83b506
@ -70,7 +70,8 @@ from swift.common.container_sync_realms import ContainerSyncRealms
|
||||
from swift.common.header_key_dict import HeaderKeyDict
|
||||
from swift.common.storage_policy import POLICIES, reload_storage_policies
|
||||
from swift.common.swob import Request, Response
|
||||
from test.unit import FakeLogger, requires_o_tmpfile_support
|
||||
from test.unit import FakeLogger, requires_o_tmpfile_support, \
|
||||
quiet_eventlet_exceptions
|
||||
|
||||
threading = eventlet.patcher.original('threading')
|
||||
|
||||
@ -6305,6 +6306,7 @@ class TestPipeMutex(unittest.TestCase):
|
||||
|
||||
def test_wrong_releaser(self):
|
||||
self.mutex.acquire()
|
||||
with quiet_eventlet_exceptions():
|
||||
self.assertRaises(RuntimeError,
|
||||
eventlet.spawn(self.mutex.release).wait)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user