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
kt474 authored Jul 11, 2024
2 parents d81fc08 + 8b42e36 commit bfa3f70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/integration/test_fake_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import itertools
import operator

from unittest import SkipTest
from ddt import ddt, data, idata, unpack

from qiskit.circuit import QuantumCircuit
Expand All @@ -37,6 +38,7 @@
FakePrague,
)
from ..ibm_test_case import IBMTestCase, IBMIntegrationTestCase
from ..decorators import production_only

FAKE_PROVIDER_FOR_BACKEND_V2 = FakeProviderForBackendV2()
FAKE_PROVIDER = FakeProvider()
Expand Down Expand Up @@ -182,8 +184,11 @@ def setUpClass(cls):
# pylint: disable=no-value-for-parameter
super().setUpClass()

@production_only
def test_refresh_method(self):
"""Test refresh method"""
if self.dependencies.channel == "ibm_cloud":
raise SkipTest("Cloud account does not have real backends.")
# to verify the data files will be updated
old_backend = FakeSherbrooke()
# change some configuration
Expand Down

0 comments on commit bfa3f70

Please sign in to comment.