Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: Update SDN CSL URL used for fallback (#4053)
Browse files Browse the repository at this point in the history
REV-3062
  • Loading branch information
julianajlk authored Nov 14, 2023
1 parent 6e601e5 commit 8209a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def add_arguments(self, parser):
def handle(self, *args, **options):
# download the csv locally, to check size and pass along to import
threshold = options['threshold']
url = 'http://api.trade.gov/static/consolidated_screening_list/consolidated.csv'
url = 'https://data.trade.gov/downloadable_consolidated_screening_list/v1/consolidated.csv'
timeout = settings.SDN_CHECK_REQUEST_TIMEOUT

with requests.Session() as s:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_handle_500_response(self, mock_response):

class TestDownloadSndFallbackCommandExceptions(TestCase):
LOGGER_NAME = 'ecommerce.core.management.commands.populate_sdn_fallback_data_and_metadata'
URL = 'http://api.trade.gov/static/consolidated_screening_list/consolidated.csv'
URL = 'https://data.trade.gov/downloadable_consolidated_screening_list/v1/consolidated.csv'
ERROR_MESSAGE = 'some foo error'

@responses.activate
Expand Down

0 comments on commit 8209a41

Please sign in to comment.