Isaku Yamahata 0063aa33c6 pecan.jsonify v1.3 adjustment
From pecan v1.3, pecan.jsonify uses json.Encoder unconditionally so that
jsonifying mock fails.
Pecan v1.2 uses simplejson.Encoder as encoder which accidentally encodes
MagicMock as {} due to check of '_asdict' attributes.
Since pecan.jsonify uses __json__ magic method when it's defined,
add __json__ method to mocks to return {} as json encode.

Closes-bug: #1754978
Change-Id: Iac955a7de2a1b66b5b56a73f5cc8a4e75150f82e
2018-04-18 15:37:20 +00:00
2016-06-28 22:46:19 +02:00
2018-04-17 14:26:01 +00:00
2018-04-18 15:37:20 +00:00
2016-10-17 17:06:19 +05:30
2014-05-16 13:40:04 -04:00
2018-04-11 08:59:14 +00:00
2017-06-13 19:26:49 +00:00
2017-08-31 16:44:51 +02:00
2017-08-03 09:47:25 +08:00
2017-03-04 11:19:58 +00:00
2018-04-17 14:22:58 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

S
Description
OpenStack Networking (Neutron)
Readme 1.1 GiB
Languages
Python 99.7%
Shell 0.3%