예제 #1
0
 def test_propagate_check_resource(self, mock_sync):
     worker.propagate_check_resource(self.ctx, mock.ANY, mock.ANY,
                                     self.stack.current_traversal, mock.ANY,
                                     ('A', True), {}, True, None)
     self.assertTrue(mock_sync.called)
예제 #2
0
 def test_propagate_check_resource(self, mock_sync):
     worker.propagate_check_resource(
         self.ctx, mock.ANY, mock.ANY,
         self.stack.current_traversal, mock.ANY,
         mock.ANY, {}, True)
     self.assertTrue(mock_sync.called)