Big Switch unit tests leave exceptions in subunit log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Kevin Benton |
Bug Description
The Big Switch capabilities check code throws an exception during the unit tests because a magicmock is passed into json.loads. This doesn't affect the unit tests but it leaves stack traces in the test log that take up unnecessary space.
ties. Newer API calls won't be supported.
Traceback (most recent call last):
File "neutron/
self.
File "neutron/
return json.loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 1 column 1 (char 1)
2014-09-17 01:11:55,083 INFO [neutron.
2014-09-17 01:11:55,083 ERROR [neutron.
Traceback (most recent call last):
File "neutron/
self.
File "neutron/
return json.loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 1 column 1 (char 1)
Changed in neutron: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/122336
Review: https:/