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),