title: How to pass plugin options to py.test when using Pycharm's py.test runner?
body: <p>I'm trying to run some tests using the Pycharm py.test test runner and I need to pass a command line option to a py.test plugin (<a href="https://pypi.org/project/pytest-beds/" rel="nofollow noreferrer">pytest-beds</a>).</p>
  
  <p>I've tried adding the option to the additional options field in the test run config, but I get the following error:</p>
  
  <pre><code>Testing started at 9:54 AM ...
  /usr/local/bin/python /Applications/PyCharm.app/Contents/helpers/pycharm/_jb_pytest_runner.py -- --sdk-path=/some/other/long/path/google-cloud-sdk/platform/google_appengine tests/test_fixture_handler
  Launching py.test with arguments --sdk-path=/some/other/long/path/google-cloud-sdk/platform/google_appengine tests/test_fixture_handler in /some/long/path
  
  usage: _jb_pytest_runner.py [options] [file_or_dir] [file_or_dir] [...]
  _jb_pytest_runner.py: error: unrecognized arguments: --sdk-path=/some/other/long/path/google-cloud-sdk/platform/google_appengine
    inifile: /some/long/path/pytest.ini
    rootdir: /some/long/path
  
  Process finished with exit code 2
  Empty test suite.
  </code></pre>
  
  <p>Adding the option to adopts in pytest.ini, but I get the same result.</p>