title: Python3: Behave: requests: How to test an API requiring oauth2 authentication
body: <p>I am using oauth2 (github ) for authenticating access to my API,</p>
  <p>Currently I am using webdriver + behave to authenticate via firefox and test the API</p>
  <p>Once the Oauth dance is completed the server sets an encrypted session-cookie with the authentication token for API access.</p>
  <p>While, behave recommends testing the API and not the UI(<a href="https://behave.readthedocs.io/en/stable/practical_tips.html" rel="nofollow noreferrer">https://behave.readthedocs.io/en/stable/practical_tips.html</a>) , I have not been able to find any method for triggering the oauth dance via requests package...</p>
  <p>Am I missing something? What process do you use to complete the oauth dance without webdriver?</p>