We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7f771 commit 1b8e172Copy full SHA for 1b8e172
1 file changed
test/integration/smoke/test_iso.py
@@ -219,14 +219,14 @@ def setUpClass(cls):
219
# Finding the OsTypeId from Ostype
220
ostypes = list_os_types(
221
cls.api_client,
222
- description=self.services["ostype"]
+ description=cls.services["ostype"]
223
)
224
if not isinstance(ostypes, list):
225
raise unittest.SkipTest("OSTypeId for given description not found")
226
227
- self.services["iso_1"]["ostypeid"] = ostypes[0].id
228
- self.services["iso_2"]["ostypeid"] = ostypes[0].id
229
- self.services["ostypeid"] = ostypes[0].id
+ cls.services["iso_1"]["ostypeid"] = ostypes[0].id
+ cls.services["iso_2"]["ostypeid"] = ostypes[0].id
+ cls.services["ostypeid"] = ostypes[0].id
230
231
cls.iso_1 = Iso.create(
232
0 commit comments