Refactoring required in cinder/tests/unit/test_migrations.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Sheel Rana |
Bug Description
In cinder/
For ex,
In test_migrations.py, to use Boolean type constant is defined but for INTEGER and VARCHAR type they are used directly as shown below:
BOOL_TYPE = sqlalchemy.
It must be updated as below to map coding guidelines
BOOL_TYPE = sqlalchemy.
Reference to this raise:
During fixing https:/
Its suggested to merge this kind of refactoring in separate patch for better visibility of related code.
I am ready with the changes, will share patch soon..
Changed in cinder: | |
assignee: | nobody → Sheel Rana (ranasheel2000) |
description: | updated |
description: | updated |
Changed in cinder: | |
status: | New → In Progress |
description: | updated |
summary: |
- Refactoring required in cinder/tests/unit/test_migrations.py for better - readability and for coding guidelines.. + Refactoring required in cinder/tests/unit/test_migrations.py |
description: | updated |
Changed in cinder: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/264085
Review: https:/