title: Apply a single decorator to multiple functions
body: <p>I've searched for this, but the results I've seen involve the opposite: applying multiple decorators to a single function.</p>
  
  <p>I'd like to simplify this pattern.  Is there a way to apply this single decorator to multiple functions?  If not, how can I rewrite the above to be less repetitious?</p>
  
  <pre><code>from mock import patch
  
  @patch('somelongmodulename.somelongmodulefunction')
  def test_a(patched):
      pass  # test one behavior using the above function
  
  @patch('somelongmodulename.somelongmodulefunction')
  def test_b(patched):
      pass  # test another behavior
  
  @patch('somelongmodulename.somelongmodulefunction')
  def test_c(patched):
      pass  # test a third behavior
  </code></pre>
  
  
  
  <pre><code>from mock import patch
  
  patched_name = 'somelongmodulename.somelongmodulefunction'
  
  @patch(patched_name)
  def test_a(patched):
      pass  # test one behavior using the above function
  
  @patch(patched_name)
  def test_b(patched):
      pass  # test another behavior
  
  @patch(patched_name)
  def test_c(patched):
      pass  # test a third behavior
  </code></pre>