mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
add tests
This commit is contained in:
@@ -1853,6 +1853,6 @@ def test_generate_notifications_report_normal_case(
|
|||||||
|
|
||||||
mock_upload.assert_called_once()
|
mock_upload.assert_called_once()
|
||||||
args, kwargs = mock_upload.call_args
|
args, kwargs = mock_upload.call_args
|
||||||
assert kwargs["bucket_name"] == ["my-bucket"]
|
assert kwargs["bucket_name"] == "my-bucket"
|
||||||
assert kwargs["file_location"] == "some/file/location.csv"
|
assert kwargs["file_location"] == "some/file/location.csv"
|
||||||
assert isinstance(kwargs["filedata"], io.BytesIO)
|
assert isinstance(kwargs["filedata"], io.BytesIO)
|
||||||
|
|||||||
Reference in New Issue
Block a user