Skip to content

Commit

Permalink
fix typos in test_quotas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Jul 8, 2024
1 parent 31ec7f1 commit e9637b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api2/test_quotas.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def temp_user(temp_ds):
}
with user(user_info) as u:
uid = call('user.get_instance', u['id'])['uid']
grp = call('group.query', [['group', '=', u['username']]])
grp = call('group.query', [['group', '=', u['username']]], {'get': True})
yield {'uid': uid, 'gid': grp['gid'], 'user': u['username'], 'group': grp['group']}


Expand Down Expand Up @@ -69,7 +69,7 @@ def test_quotas(temp_ds, temp_user):
group, gid = temp_user['group'], temp_user['gid']
uq_value = QuotaConfig.uq_value
gq_value = QuotaConfig.gq_value
dq_value = QuotaConfig.ds_value
dq_value = QuotaConfig.dq_value
drq_value = QuotaConfig.drq_value

call('pool.dataset.set_quota', temp_ds, [
Expand Down

0 comments on commit e9637b3

Please sign in to comment.