Skip to content

Commit

Permalink
updated locust test_leis.json file path (#524)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thetoolsmith authored Dec 6, 2024
1 parent 56bbd3d commit a56d5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust-load-test/locust_scripts/leis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a56d5a5

Please sign in to comment.