Skip to content

Commit

Permalink
UI test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Apr 9, 2024
1 parent 0528a15 commit 95dfd02
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 84 deletions.
9 changes: 8 additions & 1 deletion pytest_fixtures/component/activationkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ def module_activation_key(module_sca_manifest_org, module_target_sat):
organization=module_sca_manifest_org,
).create()


@pytest.fixture
def function_activation_key(function_sca_manifest_org, target_sat):
"""Create activation key using default CV and library environment."""
return target_sat.api.ActivationKey(
content_view=function_sca_manifest_org.default_content_view.id,
environment=function_sca_manifest_org.library.id,
organization=function_sca_manifest_org,
).create()
@pytest.fixture(scope='module')
def module_ak(module_lce, module_org, module_target_sat):
return module_target_sat.api.ActivationKey(
Expand Down
Loading

0 comments on commit 95dfd02

Please sign in to comment.