title: How to run the methods in order for each input given by pytest parametrize
body: <p>I have two methods <code>edit_config</code> and <code>get_config</code>, I'm passing parameters through pytest parametrize. The problem is first edit config will execute for all the inputs and then get_config. But i want to run first edit_config and then get_config for each input like a cycle. How can I do that with along with pytest parametrize?</p>
  
  <pre><code>@pytest.mark.parametrize("interval, lacp_mode", [("fast", "active"), ("fast", "passive"), ("slow", "active"),
                                                   ("slow", "passive")])
  class Example:
      def test_edit_config(self, interval, mode):
          pass
      def test_get_config(self, interval, mode):
          pass
  </code></pre>
  
  <p>actual - runs edit-config first for all parametrize inputs and then get-config</p>
  
  <p>expected - should run edit-config and then get-config like a cycle for each input</p>