Skip to content

Commit

Permalink
Skip test needing access to authenticated backend. (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec authored Jul 19, 2024
1 parent 312128f commit fbe32b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/integration/backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,14 @@
(requires configuration of Quantinuum username)"


@pytest.mark.skipif(skip_remote_tests, reason=REASON)
@pytest.mark.parametrize("authenticated_quum_backend_qa", [None], indirect=True)
@pytest.mark.parametrize("language", [Language.QASM, Language.QIR])
@pytest.mark.timeout(120)
def test_quantinuum(
authenticated_quum_backend_qa: QuantinuumBackend, language: Language
) -> None:
if skip_remote_tests:
backend = QuantinuumBackend(device_name="H1-1SC", machine_debug=True)
else:
backend = authenticated_quum_backend_qa
backend = authenticated_quum_backend_qa
c = Circuit(4, 4, "test 1")
c.H(0)
c.CX(0, 1)
Expand Down

0 comments on commit fbe32b6

Please sign in to comment.