-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added ibmqx_url as additional option to IBMQiskitDevice #39
Conversation
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
==========================================
- Coverage 92.35% 88.52% -3.84%
==========================================
Files 6 6
Lines 301 305 +4
==========================================
- Hits 278 270 -8
- Misses 23 35 +12
Continue to review full report at Codecov.
|
Thanks @czachow for the PR! |
What tests do you mean? |
Like a test to see if the plugin can connect to the IBM devices, e.g., passing of the url and token are working fine. In this PR, the test coverage decreases because we implement a kwarg for url but have no way of testing it. So my question is, can we write some test which makes sure that the plugin works well with the IBM API (with some dummy token and url). This way, if the IBM API changes (like the addition of a url option), these tests will fail and we will get to know immediately without having to wait for users to report it. But this will expose the token and API which seems like a security risk. |
Also, to get the |
@quantshah does it make any sense to mock out the IBM API? The test would just verify that we are passing on the required credentials and understand what to do with returned objects. If not, then it likely makes more sense to disable testing of those lines |
Sounds good, we can follow their lead 👍 |
Could this be closed now that #44 is merged? |
fixes issue 38