

@mock.patch.object(requests, 'post', mock.MagicMock(return_value=base.FakeResponse(json.dumps({
    
}), 200, 'OK')))
def test_decorate_https_without_cacert(self):
    self.shell.run(['auth', USERNAME, '-p', PASSWORD])
    kwargs = {
        'verify': False,
        'headers': HEADERS,
        'auth': (USERNAME, PASSWORD),
    }
    requests.post.assert_called_with(AUTH_URL, json.dumps({
        
    }), **kwargs)

dataset/ETHPy150Open StackStorm/st2/st2client/tests/unit/test_ssl.py TestHttps.test_decorate_https_without_cacert/original