title: Quit driver instance in pytest after all the tests are executed
body: <p>Below is the pytest class used to run 2 tests. Want to quit driver after both the tests are executed. used Teardown but it quits the driver after each test execution is completed</p>
  
  <pre><code>class FlightTest(unittest.TestCase):
  
          driver = webdriver.Chrome(direct_path+'/resources/chromedriver.exe')
          startup = StartUpPage(driver)
          register = RegisterPage(driver)
  
          def test_flight_registration(self):
              dat = self.json_reader.read_from_file("testdata.json")
              self.startup.navigate_to_url(dat['url'])\
                          .click_on_register_button()
              self.register.create_user(dat['uid'], dat['pwd'], dat['con_pwd'])
  
          def test_flight_sign_in(self,):
              dat = self.json_reader.read_from_file("testdata.json")
              self.startup.click_sign_in_link()
  
          def tearDown(self):
              self.driver.quit()
  </code></pre>