title: Can pytest fixtures be combined?
body: <p>Can one fixture build on another in pytest? I have a very simple fixture called &quot;cleaner&quot; defined as:</p>
  <pre class="lang-py prettyprint-override"><code>import pytest
  from mypackage import db
  
  @pytest.fixture()
  def cleaner(request):
    def finalizer():
      db.clear()
    request.addfinalizer(finalizer)
  </code></pre>
  <p>then in my <code>setup.cfg</code> I have:</p>
  <pre><code>[pytest]
  norecursedirs = .git venv
  usefixtures = cleaner
  </code></pre>
  <p>This results in the database being truncated after each test, which is great. But now I want other fixtures I make to also call the finalizer from cleaner. Is there a way to define another fixture that somehow expands on or calls cleaner?</p>