Browse Source

Merge "Disable 'project_id' validation on test_share_servers"

changes/30/674230/12
Zuul 1 week ago
parent
commit
90332bd7ae
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      manila_tempest_tests/tests/api/admin/test_share_servers.py

+ 1
- 3
manila_tempest_tests/tests/api/admin/test_share_servers.py View File

@@ -81,8 +81,6 @@ class ShareServersAdminTest(base.BaseSharesAdminTest):
81 81
             self.assertGreater(len(server["host"]), 0)
82 82
             # Id is not empty
83 83
             self.assertGreater(len(server["id"]), 0)
84
-            # Project id is not empty
85
-            self.assertGreater(len(server["project_id"]), 0)
86 84
 
87 85
         # Do not verify statuses because we get all share servers from whole
88 86
         # cluster and here can be servers with any state.
@@ -185,7 +183,7 @@ class ShareServersAdminTest(base.BaseSharesAdminTest):
185 183
             self.assertTrue(self.date_re.match(server["updated_at"]))
186 184
 
187 185
         # veriy that values for following keys are not empty
188
-        for k in ('host', 'id', 'project_id', 'status', 'share_network_name'):
186
+        for k in ('host', 'id', 'status'):
189 187
             self.assertGreater(len(server[k]), 0)
190 188
 
191 189
         # 'backend_details' should be a dict

Loading…
Cancel
Save