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

Commit

Permalink
renamed sqs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RamuniN committed Oct 30, 2023
1 parent 46790bd commit 7646765
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions tests/test_sqs_helpers.py → tests/test_import_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,18 @@ def mock_bulk_insert_application_records(mocker, mock_sqs_recieve_message):
yield


class TestSQSFunctions(object):
@pytest.mark.fundround("NSTFR2")
@pytest.mark.appcount(3)
def test_import_application_queue(
self,
request,
mock_sqs_recieve_message,
mock_sqs_delete_message,
mock_bulk_insert_application_records,
):
appcount = request.node.get_closest_marker("appcount").args[0]
@pytest.mark.fundround("NSTFR2")
@pytest.mark.appcount(3)
def test_import_application_queue(
request,
mock_sqs_recieve_message,
mock_sqs_delete_message,
mock_bulk_insert_application_records,
):
appcount = request.node.get_closest_marker("appcount").args[0]

# Call the function
response = import_applications_from_queue()
# Call the function
response = import_applications_from_queue()

# Assertions
assert len(response) == appcount
# Assertions
assert len(response) == appcount

0 comments on commit 7646765

Please sign in to comment.