Added test cases for the missing endpoints
Fixes: https://tracker.ceph.com/issues/45901
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
'max_files': int
}))
-
def test_cephfs_tabs(self):
fs_id = self.get_fs_id()
data = self._get("/ui-api/cephfs/{}/tabs".format(fs_id))
'see_also': JList(str)
})
-
def test_list_disabled_module(self):
self._ceph_cmd(['mgr', 'module', 'disable', 'iostat'])
self.wait_until_rest_api_accessible()
def test_delete_access_permissions(self):
self._delete('/api/pool/ddd')
self.assertStatus(403)
-
+
def test_pool_configuration(self):
pool_name = 'device_health_metrics'
- data= self._get('/api/pool/{}/configuration'.format(pool_name))
+ data = self._get('/api/pool/{}/configuration'.format(pool_name))
self.assertStatus(200)
self.assertSchema(data, JList(JObj({
'name': str,