TypeError MagicMock not JSON serializable on local UT run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
Undecided
|
Sean McCully |
Bug Description
This is what I see:
ERROR:neutron.
Traceback (most recent call last):
File "/home/
self.
File "/home/
return self.cast(context, msg, topic=self.topic)
File "/home/
rpc.
File "/home/
return _get_impl(
File "/home/
check_
File "/home/
json.dumps(msg)
File "/usr/lib/
return _default_
File "/usr/lib/
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/
return _iterencode(o, 0)
File "/usr/lib/
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <MagicMock name='LinuxBrid
stack
Changed in neutron: | |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Sean McCully (sean-mccully) |
status: | New → In Progress |
Regenerated the virtualenv, can't seem to reproduced it anymore.