text: # -*- coding: utf-8 -*-
  # adds command line arguments for 'runtests' as a fixtures
  import pytest
  
  
  def pytest_addoption(parser):
      parser.addoption(
          "--test_data_folder", action="store", default=None,
          help="Provide url of a folder of unzipped test file"
      )
  
      parser.addoption(
          "--persist", action="store", default=None,
          help="True - keep test_db, test_openpype, outputted test files"
      )
  
      parser.addoption(
          "--app_variant", action="store", default=None,
          help="Keep empty to locate latest installed variant or explicit"
      )
  
  
  @pytest.fixture(scope="module")
  def test_data_folder(request):
      return request.config.getoption("--test_data_folder")
  
  
  @pytest.fixture(scope="module")
  def persist(request):
      return request.config.getoption("--persist")
  
  
  @pytest.fixture(scope="module")
  def app_variant(request):
      return request.config.getoption("--app_variant")
  