"""Constants for api tests.""" from tests.integration import config # urls HEALTH_CHECK = f"{config.QA_BASE_URL}/hello/" AUTHORIZATION_HEALTH = f"{config.QA_BASE_URL}/hello-authorized/" REVIEW_QUEUE = f"{config.QA_BASE_URL}/review-queue" REVIEW_QUEUE_DATALOADER = f"{config.QA_BASE_URL}/review-queue/dataloader" APPROVE = f"{config.QA_BASE_URL}/approve/{{}}" REJECT = f"{config.QA_BASE_URL}/reject/{{}}" SCORE = f"{config.QA_BASE_URL}/score/{{}}" MOVE_TO_QUEUE = f"{config.QA_BASE_URL}/review-queue/{{}}/queue" GET_QUEUE_MOVE_HISTORY = f"{config.QA_BASE_URL}/review-queue/{{}}/queue/move-history" GET_REJECTION = f"{config.QA_BASE_URL}/reject/{{}}" REVIEW_HISTORY = f"{config.QA_BASE_URL}/review-history/{{}}" STATUS = f"{config.QA_BASE_URL}/status/{{}}" ELIGIBILITY_CHECK = f"{config.QA_BASE_URL}/review-queue/product/{{}}/eligibility-check" REVIEW_QUEUE_PRODUCT = f"{config.QA_BASE_URL}/review-queue/product/{{}}" PRODUCT_UNSUBMIT = f"{config.QA_BASE_URL}/review-queue/product/{{}}/unsubmit" RESET_TESTS = f"{config.QA_BASE_URL}/qa-only-reset-test-product/{{}}" REVIEW_ITEM_REJECTION = f"{config.QA_BASE_URL}/review-queue/{{}}/rejection" CANNED_RESPONSE = f"{config.QA_BASE_URL}/canned-response/{{}}" CANNED_RESPONSES = f"{config.QA_BASE_URL}/canned-responses" CANNED_RESPONSE_NOTE_DATALOADER = f"{config.QA_BASE_URL}/canned-response-note/dataloader" CANNED_RESPONSE_CATEGORIES = f"{config.QA_BASE_URL}/canned-response-categories" TARGET_GROUP_DATALOADER = f"{config.QA_BASE_URL}/review-queue/target-group/dataloader" TARGET_GROUPS = f"{config.QA_BASE_URL}/target-groups" SUBACCOUNT_NOTE = f"{config.QA_BASE_URL}/subaccount-note/subaccount/{{}}" SUBACCOUNT_NOTE_DATALOADER = f"{config.QA_BASE_URL}/subaccount-note/dataloader" ACCOUNT_NOTE = f"{config.QA_BASE_URL}/account-note/vendor/{{}}" ACCOUNT_NOTE_DATALOADER = f"{config.QA_BASE_URL}/account-note/dataloader" LOCK = f"{config.QA_BASE_URL}/review-queue/{{}}/lock" UNLOCK = f"{config.QA_BASE_URL}/review-queue/{{}}/unlock" APPROVAL = f"{config.QA_BASE_URL}/review-queue/{{}}/approval" APPLY_REVISIONS_LEGACY = f"{config.QA_BASE_URL}/review/{{}}/apply-revisions-legacy"