Unit tests fail with new jsonschema 2.4.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Critical
|
Sergey Lukjanov | ||
Icehouse |
Fix Released
|
Critical
|
Sergey Lukjanov |
Bug Description
Steps to repro:
1. Update jsonschema to 2.4.0 (line from requirements: "jsonschema>
2. run unit tests
I see two problems:
1. tests fail
2. expected and actual results swapped
Result:
Traceback (most recent call last):
File "/Users/
u'-1.0 is less than the minimum of 0')
File "/Users/
return func(*args, **keywargs)
File "sahara/
self.
File "sahara/
self.
File "/Users/
self.
File "/Users/
raise mismatch_error
MismatchError: !=:
reference = '-1 is less than the minimum of 0'
actual = u'-1.0 is less than the minimum of 0'
Changed in sahara: | |
assignee: | nobody → Andrew Lazarev (alazarev) |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → juno-3 |
Changed in sahara: | |
status: | Confirmed → In Progress |
Changed in sahara: | |
assignee: | Andrew Lazarev (alazarev) → Sergey Lukjanov (slukjanov) |
Changed in sahara: | |
importance: | High → Critical |
Changed in sahara: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/115946
Review: https:/