]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/tests/test_plugin_debug.py
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / tests / test_plugin_debug.py
index e6999782d9c78c301757aa8d91a9d058d9a78d07..4985540046ca9cd2db05329cbb645529bc05200e 100644 (file)
@@ -19,7 +19,7 @@ class TestPluginDebug(ControllerTestCase, CLICommandTestMixin):
         self._get('/api/unexisting_controller')
         self.assertStatus(404)
 
-        data = self.jsonBody()
+        data = self.json_body()
         self.assertGreater(len(data), 0)
         self.assertNotIn('traceback', data)
         self.assertNotIn('version', data)
@@ -31,7 +31,7 @@ class TestPluginDebug(ControllerTestCase, CLICommandTestMixin):
         self._get('/api/unexisting_controller')
         self.assertStatus(404)
 
-        data = self.jsonBody()
+        data = self.json_body()
         self.assertGreater(len(data), 0)
         self.assertIn('traceback', data)
         self.assertIn('version', data)