Skip to content

Commit

Permalink
Merge branch 'main' into add-local-channel
Browse files Browse the repository at this point in the history
  • Loading branch information
ptristan3 authored Jul 10, 2024
2 parents 66ca7dc + c3e8a6a commit 5aa8067
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/test_fake_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def test_refresh_method(self):
old_backend = FakeSherbrooke()
# change some configuration
old_backend.backend_version = "fake_version"
# set instance to none to access real backend
self.service._account.instance = None

with self.assertLogs("qiskit_ibm_runtime", level="INFO") as logs:
old_backend.refresh(self.service)
self.assertIn("The backend fake_sherbrooke has been updated", logs.output[0])
Expand Down

0 comments on commit 5aa8067

Please sign in to comment.