Skip to content

Commit

Permalink
Fix not subscriptable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rathishcholarajan committed Feb 3, 2022
1 parent 477a027 commit ef6975a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mock/fake_account_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(
def backend_configuration(self, backend_name: str) -> Dict[str, Any]:
"""Return the configuration of the backend."""
for backend in self._backends:
if backend["name"] == backend_name:
if backend.name == backend_name:
return backend.configuration.copy()
raise ValueError(f"Backend {backend_name} not found.")

Expand Down

0 comments on commit ef6975a

Please sign in to comment.