Skip to content

Commit 806cdd3

Browse files
committed
change configuration to self._configuration
1 parent 77dd9e2 commit 806cdd3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

qiskit/test/mock/fake_backend.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ class FakeBackendV2(BackendV2):
275275
"""This is a dummy bakend just for resting purposes. the FakeBackendV2 builds on top of the BackendV2 base class."""
276276

277277
def __init__(self):
278-
configuration = self._get_conf_from_json()
278+
self._configuration = self._get_conf_from_json()
279279
super().__init__(
280280
provider=None,
281-
name=configuration.backend_name,
282-
description=configuration.description,
283-
online_date=configuration.online_date,
284-
backend_version=configuration.backend_version
281+
name=self._configuration.backend_name,
282+
description=self._configuration.description,
283+
online_date=self._configuration.online_date,
284+
backend_version=self._configuration.backend_version
285285
)
286286
self._properties = None
287287
self._qubit_properties = None

0 commit comments

Comments
 (0)