system-info: expose inode limits and usage. Fixes #4282
This commit is contained in:
parent
56c8deb944
commit
c069290119
3 changed files with 21 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ class TestGetServerInfo(object):
|
|||
expected['load'] = resp['result']['load']
|
||||
expected['cpu'] = resp['result']['cpu']
|
||||
expected['disk'] = resp['result']['disk']
|
||||
expected['disk_inodes'] = resp['result']['disk_inodes']
|
||||
expected['server_ip'] = '127.0.0.1:80'
|
||||
|
||||
assert_ok(id_, expected, given=response.body)
|
||||
|
|
@ -60,6 +61,7 @@ class TestGetServerInfo(object):
|
|||
expected['load'] = resp['result']['load']
|
||||
expected['cpu'] = resp['result']['cpu']
|
||||
expected['disk'] = resp['result']['disk']
|
||||
expected['disk_inodes'] = resp['result']['disk_inodes']
|
||||
expected['server_ip'] = '127.0.0.1:80'
|
||||
|
||||
assert_ok(id_, expected, given=response.body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue