UnboundLocalError: local variables referenced before assignment in integration tests
Bug #1428064 reported by
Anastasia Kuznetsova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Anastasia Kuznetsova |
Bug Description
During integration tests if stack or one of resources wasn't created before timeout expiration, then appropriate exception has to be raised:
message = ('Resource %s failed to reach %s status within '
or
message = ('Stack %s failed to reach %s status within '
in /heat_integrati
Problem is that "res" and "stack" are local variables and can't be used outside 'while' loop.
Changed in heat: | |
assignee: | nobody → Anastasia Kuznetsova (akuznetsova) |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → kilo-3 |
importance: | Medium → Low |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/161159
Review: https:/