You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write unit tests that will only run if valid credentials are found on the system running the tests. I'm using the get_api_key function but this will only query the information that is found on the system, not validate it. Is there an easy way to validate the credentials using the API?
The text was updated successfully, but these errors were encountered:
Note one possible test directly queries the API using Python's requests. The other test uses the Connection object in the library so that the call to the API, and whatever else the library does, is abstracted.
Might look into adding these tests to the library itself.
I'm trying to write unit tests that will only run if valid credentials are found on the system running the tests. I'm using the
get_api_key
function but this will only query the information that is found on the system, not validate it. Is there an easy way to validate the credentials using the API?The text was updated successfully, but these errors were encountered: