Skip to content

Commit

Permalink
update jira config used by unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
amp-rh committed Jan 19, 2024
1 parent 7b0b5dc commit a09caf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unittests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
FIREWATCH_DEFAULT_JIRA_PROJECT_ENV_VAR = "FIREWATCH_DEFAULT_JIRA_PROJECT"
FIREWATCH_DEFAULT_JIRA_EPIC_ENV_VAR = "FIREWATCH_DEFAULT_JIRA_EPIC"
ARTIFACT_DIR_ENV_VAR = "ARTIFACT_DIR"
JIRA_SERVER_URL_ENV_VAR = "JIRA_SERVER_URL"
DEFAULT_JIRA_SERVER_URL = "https://issues.stage.redhat.com"
JIRA_TOKEN_ENV_VAR = "JIRA_TOKEN"
FIREWATCH_CONFIG_ENV_VAR = "FIREWATCH_CONFIG"

Expand Down Expand Up @@ -249,7 +251,7 @@ def jira_config_path(tmp_path):
json.dumps(
{
"token": os.getenv(JIRA_TOKEN_ENV_VAR),
"url": "https://issues.stage.redhat.com",
"url": os.getenv(JIRA_SERVER_URL_ENV_VAR, DEFAULT_JIRA_SERVER_URL),
"proxies": {
"http": "http://squid.corp.redhat.com:3128",
"https": "http://squid.corp.redhat.com:3128",
Expand Down

0 comments on commit a09caf2

Please sign in to comment.