Skip to content

Commit 730f81a

Browse files
authored
Merge pull request #117 from qiboteam/hotfix/print-quota
Fix print quota error
2 parents 85f7a37 + 61a8d2a commit 730f81a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qibo_client/qibo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def print_quota_info(self):
168168

169169
rows = [
170170
(
171-
t["project"]["name"],
171+
t["project"],
172172
t["partition"]["name"],
173173
t["partition"]["max_num_qubits"],
174174
t["partition"]["hardware_type"],

tests/test_qibo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_print_quota_info(self, caplog):
181181
endpoint = FAKE_URL + "/api/projectquotas/"
182182
response_json = [
183183
{
184-
"project": {"name": FAKE_PROJECT},
184+
"project": FAKE_PROJECT,
185185
"partition": {
186186
"name": FAKE_DEVICE,
187187
"max_num_qubits": FAKE_NUM_QUBITS,

0 commit comments

Comments
 (0)