diff --git a/robottelo/host_helpers/satellite_mixins.py b/robottelo/host_helpers/satellite_mixins.py index afb4f5cf9f3..27c12c7b3be 100644 --- a/robottelo/host_helpers/satellite_mixins.py +++ b/robottelo/host_helpers/satellite_mixins.py @@ -146,7 +146,7 @@ def upload_manifest(self, org_id, manifest=None, interface='API', timeout=None): """ if not isinstance(manifest, bytes | io.BytesIO): - if manifest.content is None: + if not hasattr(manifest, 'content') or manifest.content is None: manifest = clone() if timeout is None: # Set the timeout to 1500 seconds to align with the API timeout.