title: fixture 'pylon_config_missing_usageplan' not found while running pytest-bdd
body: <pre><code>    @scenario('../features/config.feature', 'Loading a valid config')
  def test_config():
      pass
  
  @given(&quot;I have provided a valid pylon config&quot;,target_fixture=&quot;pylon_config&quot;)
  def pylon_config():
      input_data = {
              
          }
      return input_data
  
  @when(&quot;The configuration is loaded&quot;)
  def excute_pylon_config(pylon_config):
      createFilterPattern(pylon_config)
  
  
  @then(&quot;It should be enriched with the expected FilterPatterns&quot;)
  def no_error_message(pylon_config):
      test_data1= {
              
              }
          
      test_data_2 = {
         
      }
      result = pylon_config
      
  
  @scenario('../features/config.feature', 'Missing usagePlan section')
  def test_missing_usageplan():
      pass
  
  @given(&quot;I have provided a pylon config with a missing key&quot;,target_fixture=&quot;pylon_config_missing_usageplan&quot;)
  def pylon_config_missing_usageplan():
      input_data = {
              'metricFilters': {
                  'defaults': {
                      'xyz': []
                  }
              }
          }
      return input_data
  
  @when(&quot;The configuration is loaded&quot;)
  def excute_pylon_config_missing_usageplan(pylon_config_missing_usageplan):
      try: 
          createFilterPattern(pylon_config_missing_usageplan)
      except KeyError:
          pass
  
  @then(&quot;I should receive an exception&quot;)
  def error_message_pylon_config_missing_usageplan(pylon_config_missing_usageplan):
      print(pylon_config_missing_usageplan)
      
  </code></pre>
  <p>I have written multiple test case with specifying target_fixture in both @given scenario.</p>
  <p>While running the test case it's throwing an error with</p>
  <p><strong>fixture 'pylon_config_missing_usageplan' not found</strong></p>
  <p>available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pylon_config, pytestbdd_given_I have provided a pylon config with a missing key, pytestbdd_given_I have provided a valid pylon config, pytestbdd_given_trace, pytestbdd_then_I should receive an exception, pytestbdd_then_It should be enriched with the expected FilterPatterns, pytestbdd_then_trace, pytestbdd_when_The configuration is loaded, pytestbdd_when_trace, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
  use 'pytest --fixtures [testpath]' for help on them.</p>
  <p>Can anyone help me over here?</p>