Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgarde committed Jun 5, 2024
1 parent 591916a commit 73e059e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_submit_to_sds.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
with (
patch('boto3.client'),
patch('otello.mozart.Mozart.get_job_type'),
patch('podaac.swodlr_common.utilities.BaseUtilities.get_latest_job_version'), # pylint: disable-next=line-too-long # noqa: E501
patch('podaac.swodlr_ingest_to_sds.utilities.utils.get_grq_es_client') as mock_es_client, # pylint: disable-next=line-too-long # noqa: E501
patch.dict(environ, {
'SWODLR_ENV': 'dev',
'SWODLR_sds_username': 'test_username',
'SWODLR_sds_password': 'test_password',
'SWODLR_ingest_table_name': 'test_ingest_table_name',
'SWODLR_ingest_queue_url': 'test_ingest_queue_url',
'SWODLR_available_tiles_table': 'test_available_tiles_table'
'SWODLR_available_tiles_table': 'test_available_tiles_table',
'SWODLR_sds_host': 'http://sds-host.test/'
})
):
from podaac.swodlr_ingest_to_sds import submit_to_sds
Expand Down

0 comments on commit 73e059e

Please sign in to comment.