Traceback (most recent call last):


 "moto_test.py", line 16, in <module>

test_add_servers()


 "/tmp/moto_test/lib/python2.7/site-packages/moto/core/models.py", line 70, in wrapper

result = func(*args, **kwargs)


 "moto_test.py", line 12, in test_add_servers

add_servers('ami-1234abcd', 2)


 "moto_test.py", line 8, in add_servers

conn.run_instances(ami_id)


 "/tmp/moto_test/lib/python2.7/site-packages/boto/ec2/connection.py", line 977, in run_instances

verb='POST')


 "/tmp/moto_test/lib/python2.7/site-packages/boto/connection.py", line 1208, in get_object

raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized

Traceback (most recent call last):

 "C:\Users\nvkva\anaconda3.new\envs\tensorflow\lib\site-packages\qtconsole\comms.py", line 177, in comm_msg
comm.handle_msg(msg)

 "C:\Users\nvkva\anaconda3.new\envs\tensorflow\lib\site-packages\qtconsole\comms.py", line 265, in handle_msg
return self._msg_callback(msg)

 "C:\Users\nvkva\anaconda3.new\envs\tensorflow\lib\site-packages\spyder_kernels\comms\commbase.py", line 331, in _comm_message
msg_dict, buffer)TypeError: _handle_remote_call_reply() missing 1 required positional argument: 'load_exception'