title: How to use pytest fixtures with Unittest methods
body: <pre><code>class MyTestCase(unittest.Testcase):
      def setUp(self):
          self.something = True
  
      @pytest.fixture(autouse=True)
      def MyTestMethod(self, frozentime):
          fn(self.something)  # self.something is NOT defined
  </code></pre>
  
  <p>If I use <code>@pytest.fixture(autouse=True)</code> I end up with some strange behavior from PyTest.  Instead of calling my <code>setUp</code> method before the test method, PyTest skips the <code>setUp</code> and calls <code>MyTestMethod</code> as if it was a PyTest <code>MyTestFunction</code> which of course does not work very well.</p>
  
  <p>How do I get <code>MyTestMethod</code> to use the <code>frozentime</code> fixture without ignoring the <code>setUp</code> method that should be called first.</p>
  
  <pre><code>class MyTestCase(unittest.Testcase):
      def setUp(self):
          self.something = True
  
      #@pytest.fixture(autouse=True)
      def MyTestMethod(self, frozentime): # Fails on call, because it needs too many arguments.
          fn(self.something)  
  </code></pre>