Skip to content

Commit

Permalink
[6.16.z] RFE for 6.16 Coverage, small issue with splitting repo_task …
Browse files Browse the repository at this point in the history
…for id (SatelliteQE#16140)
  • Loading branch information
Satellite-QE authored Aug 29, 2024
1 parent 65872bf commit c6be9ed
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/foreman/cli/test_contentview.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,12 +403,9 @@ def test_negative_publish_during_repo_sync(
existing_versions = cv_info['versions']
# perform async repository sync
repo_task = module_target_sat.cli.Repository.synchronize(
{
'id': custom_repo['id'],
'async': True,
}
{'id': custom_repo['id'], 'async': True}
)
repo_task_id = repo_task.split()[-1].rstrip('.')
repo_task_id = repo_task[0]['id']
# attempt to publish a new version of the content view
with pytest.raises(CLIReturnCodeError) as err:
module_target_sat.cli.ContentView.publish({'id': module_cv.id})
Expand Down

0 comments on commit c6be9ed

Please sign in to comment.