Closed cqc-alec closed 2 years ago
No idea why the tests are failing on Linux and MacOS (and not running on Windows?). They pass for me locally.
Are you sure you have set the env variable for the remote test locally? I can try to run it and take a look, what do you think?
All extensions don't run the remote checks on windows, I would assume that it is an issue with the env variable on windows in python? Nothing I would worry about in this PR.
Are you sure you have set the env variable for the remote test locally?
Yup:
(env) alec@psi:~/r/pytket-iqm/tests$ PYTKET_RUN_REMOTE_TESTS=1 pytest
=============================================== test session starts ===============================================
platform linux -- Python 3.9.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/alec/r/pytket-iqm, configfile: pytest.ini
plugins: timeout-1.4.2, hypothesis-6.54.1, requests-mock-1.9.3
collected 10 items
backend_test.py ....... [ 70%]
convert_test.py ... [100%]
=============================================== 10 passed in 10.88s ===============================================
Maybe it is an issue with the credentials, how have you set them? I will try this now.
Maybe it is an issue with the credentials, how have you set them?
I have them set in ~/.config/pytket/config.json
.
Should work now
Closes #2 . A few updates to reflect changed API. Also fix mypy script.