title: How to run tests one by one using just one row from CSV file?
body: <p>Hi everyone it's my first post here. I'm learning test automation with Python and I have a problem.</p>
  <p>I have a test class, something like that</p>
  <p><em>test_scenario_1.py</em></p>
  <pre><code>class TestClass:
  
          @pytest.mark.run(order=1)
          @data(*getdatafromcsvfile(&quot;Logins.csv&quot;))
          @unpack
          def test_1(self, logins):
                  self.login(logins)
  
          def test_2(self):
                  self.display_name()
  </code></pre>
  <p><em>Logins.csv</em></p>
  <pre><code>Logins
  user_A
  user_B
  user_C
  </code></pre>
  <p>I'm using pytest and when I run <em>test_scenario_1.py</em> from terminal <em>test_1</em> will be executed 3 times using all of rows from CSV file and then <em>test_2</em>. Is any possibility to run second test after first execute of <em>test_1</em>?
  In simple words I want to login for each of users (form csv file) and display their names one by one.
  Do you have any ideas what should I do in that case?</p>