Add unittests for glance command line tools

Registered by Vitaliy Kolosov on 2013-11-13

For now glance/cmd is one of the least coreved parts of code in Glance. To improve this, more unit tests should be written.

Functional end-to-end testing should be avoided. Mocking and fake data should be used to restrict system under test.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
Vitaliy Kolosov
Definition:
New
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Vitaliy Kolosov on 2013-11-13
Completed by
Mark Washenberger on 2014-02-14

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/glance-cmd,n,z

Addressed by: https://review.openstack.org/46715
    Unittests added for glance/cmd/cache_manage.py

Addressed by: https://review.openstack.org/62370
    Tests added for glance/cmd/cache_pruner.py

Both of those reviews have landed, so I suppose this is done. If there is more work please change the implementation status back to started.

(?)

Work Items

Work items:
Unittests for glance/cmd/cache_manage.py: INPROGRESS

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.