From 3c3f523a379227682b597c428310cba0c0a90329 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:10:54 -0400 Subject: [PATCH] [6.13.z] removed server.hostname validator for resolve rhel 8.10 formatting issue (#15343) removed server.hostname validator for resolve rhel 8.10 formatting issue (#15340) (cherry picked from commit 68d31991f271eb680ce3697d1728f721c01b79b3) Co-authored-by: Omkar Khatavkar --- .github/workflows/pull_request.yml | 1 + robottelo/config/validators.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 382a20b0e48..276ff267e1a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -62,6 +62,7 @@ jobs: run: | # To skip vault login in pull request checks export VAULT_SECRET_ID_FOR_DYNACONF=somesecret + export ROBOTTELO_SERVER__HOSTNAME="" pytest -sv tests/robottelo/ - name: Make Docs diff --git a/robottelo/config/validators.py b/robottelo/config/validators.py index 4b57902fc82..111ab2f2ad0 100644 --- a/robottelo/config/validators.py +++ b/robottelo/config/validators.py @@ -10,7 +10,7 @@ ), ], server=[ - Validator('server.hostname', default=''), + Validator('server.hostname', is_type_of=str), Validator('server.hostnames', must_exist=True, is_type_of=list), Validator('server.version.release', must_exist=True), Validator('server.version.source', must_exist=True),