def mock_software_secure_post_unavailable(url, headers=None, data=None, **kwargs):
 raise requests.exceptions.ConnectionError

def mock_software_secure_post_unavailable ( url , headers = None , data = None , ** kwargs ) : raise requests . exceptions . ConnectionError
simulates a connection failure when we try to submit to software secure .