Exemple #1
0
def get_contract_env():
    env = get_entered_text()
    if env in ALL_ENVS:
        return send_slack_message(get_url(CONTRACT_MODULE, env))
    else:
        return ENV_WARNING
Exemple #2
0
def get_sit_all_url():
    return send_slack_message(SIT_ALL_URLS)
Exemple #3
0
def get_mockups_url():
    return send_slack_message(MOCKUPS_WIKI_URL)
Exemple #4
0
def get_claims_env():
    env = get_entered_text()
    if env in ALL_ENVS:
        return send_slack_message(get_url(CLAIM_MODULE, env))
    else:
        return ENV_WARNING
Exemple #5
0
def get_e2e_all_url():
    return send_slack_message(E2E_ALL_URLS)
Exemple #6
0
def get_jira_link():
    task_number = get_entered_text()
    if is_number_correct(task_number):
        return send_slack_message(get_jira_url(task_number))
    else:
        return JIRA_WARNING