Searched refs:mock_contextmanager (Results 1 – 12 of 12) sorted by relevance
31 def mock_contextmanager(func): function43 @mock_contextmanager318 mock_contextmanager = mock_contextmanager_generator()319 mock_nested = MockNested(mock_contextmanager)321 self.assertInWithManagerInvariants(mock_contextmanager)323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
32 def mock_contextmanager(func): function44 @mock_contextmanager313 mock_contextmanager = mock_contextmanager_generator()314 mock_nested = MockNested(mock_contextmanager)316 self.assertInWithManagerInvariants(mock_contextmanager)318 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
34 def mock_contextmanager(func): function46 @mock_contextmanager315 mock_contextmanager = mock_contextmanager_generator()316 mock_nested = MockNested(mock_contextmanager)318 self.assertInWithManagerInvariants(mock_contextmanager)320 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)