From a56d5a5d0b8481452c62f303baa19676118d64bf Mon Sep 17 00:00:00 2001 From: Paul Bruno <15909838+thetoolsmith@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:06:23 -0500 Subject: [PATCH] updated locust test_leis.json file path (#524) Updated the leis.py script reference to the correct path to test_leis.json when running tests locally ## Changes updated to correct url path ## Testing 1. successfully ran the tests from the localhost browser ### Browsers - [x] Chrome --- locust-load-test/locust_scripts/leis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust-load-test/locust_scripts/leis.py b/locust-load-test/locust_scripts/leis.py index b371bc09..beb7429f 100644 --- a/locust-load-test/locust_scripts/leis.py +++ b/locust-load-test/locust_scripts/leis.py @@ -12,7 +12,7 @@ def get_leis(): with httpx.Client() as client: url = os.getenv( "LEI_REPO", - "https://raw.githubusercontent.com/cfpb/sbl-test-data/test_leis/", + "https://raw.githubusercontent.com/cfpb/sbl-test-data/refs/heads/main/test_leis/", ) full_path = url + os.getenv("LEI_FILE", "test_leis.json") response = client.get(full_path)