From 0736d5d0a1c227d571d591b9d565c02f5f4b9a58 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 9 Jan 2024 11:35:45 -0800 Subject: [PATCH] tasks/.../test_erasure_code_profile: assertSubset in test_create_plugin Newly added profile options may break this test otherwise. Signed-off-by: Samuel Just --- qa/tasks/mgr/dashboard/test_erasure_code_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py index 7fb7c1c8270..a5091400893 100644 --- a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py +++ b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py @@ -79,7 +79,7 @@ class ECPTest(DashboardTestCase): self.assertStatus(201) self._get('/api/erasure_code_profile/lrc') - self.assertJsonBody({ + self.assertJsonSubset({ 'crush-device-class': '', 'crush-failure-domain': 'host', 'crush-root': 'default', -- 2.39.5