File tree Expand file tree Collapse file tree
pytest_fixtures/component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,8 +226,7 @@ def sca_manifest_for_upgrade():
226226
227227
228228@pytest .fixture
229- def func_future_dated_subscription_manifest (target_sat , function_org ):
230- """Create and upload future date subscription manifest into org """
229+ def func_future_dated_subscription_manifest ():
230+ """Returns future dated manifest. Used only for future date subscription scenarios. """
231231 with Manifester (manifest_category = settings .manifest .future_date_subscription ) as manifest :
232- target_sat .upload_manifest (function_org .id , manifest .content )
233- return manifest
232+ yield manifest
Original file line number Diff line number Diff line change @@ -371,6 +371,8 @@ def test_positive_populate_future_date_subcription(
371371
372372 :customerscenario: true
373373 """
374+ target_sat .upload_manifest (function_org .id , func_future_dated_subscription_manifest .content )
375+
374376 with target_sat .ui_session () as session :
375377 session .organization .select (function_org .name )
376378 assert session .subscription .has_manifest , 'Manifest not uploaded'
You can’t perform that action at this time.
0 commit comments