From b8543618df3079941735ad2ed79d974b303236ea Mon Sep 17 00:00:00 2001 From: Omkar Khatavkar Date: Thu, 6 Jun 2024 20:04:11 +0530 Subject: [PATCH] removed server.hostname validator for resolve rhel 8.10 formatting issue (#15340) (cherry picked from commit 68d31991f271eb680ce3697d1728f721c01b79b3) --- .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 8f6505db48d..9380cbb5267 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),