Skip to content

Commit

Permalink
Installer Assertions in test context rather than in helper (#15461)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored Jun 20, 2024
1 parent 91f875b commit 8d1d525
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pytest_fixtures/core/sat_cap_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ def installer_satellite(request):
:params request: A pytest request object and this fixture is looking for
broker object of class satellite
"""
sat_version = settings.server.version.release
if 'sanity' in request.config.option.markexpr:
sat = Satellite(settings.server.hostname)
else:
Expand All @@ -367,8 +366,6 @@ def installer_satellite(request):
snap=settings.server.version.snap,
)
sat.install_satellite_or_capsule_package()
installed_version = sat.execute('rpm --query satellite').stdout
assert sat_version in installed_version
# Install Satellite
sat.execute(
InstallerCommand(
Expand Down

0 comments on commit 8d1d525

Please sign in to comment.