]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/.../test_erasure_code_profile: assertSubset in test_create_plugin 55096/head
authorSamuel Just <sjust@redhat.com>
Tue, 9 Jan 2024 19:35:45 +0000 (11:35 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 9 Jan 2024 19:35:45 +0000 (11:35 -0800)
Newly added profile options may break this test otherwise.

Signed-off-by: Samuel Just <sjust@redhat.com>
qa/tasks/mgr/dashboard/test_erasure_code_profile.py

index 7fb7c1c8270fa4022542898d33b661fc10e698e0..a50914008934369b1ea440e7cb721dffd9336351 100644 (file)
@@ -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',