def METHOD_NAME(mock_publish: AsyncMock, mock_get_client: AsyncMock):
    """ Test that if no secret is provided, we get a 401, no file is uploaded, and no message is
    placed on the queue. """
    mock_s3_client = AsyncMock()
    @asynccontextmanager
    async def _mock_get_client_for_router():
        yield mock_s3_client, 'some_bucket'
    mock_get_client.return_value = _mock_get_client_for_router()
    client = TestClient(app)
    response = client.post(URL,
                           files={'file': ('test_sfms_upload.py', b'')})
    # If you didn't give a secret = we should get a 401.
    assert response.status_code == 401
    # We should not have called put_object.
    assert mock_s3_client.put_object.called is False
    # Publish should not have been called.
    assert mock_publish.called is False