Add unit tests for Ansible modules

Registered by Michal Rostecki

We already have some Ansible modules, both in ansible/library/ and in docker/kolla-ansible/. The aim of this blueprint is to treat these modules as our Python codebase which we test, check pep8 etc.

Blueprint information

Status:
Complete
Approver:
Michal Rostecki
Priority:
Medium
Drafter:
Michal Rostecki
Direction:
Approved
Assignee:
Md Nadeem
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-3
Started by
Md Nadeem
Completed by
Md Nadeem

Related branches

Sprints

Whiteboard

Michael,

Can you add a list of work items in this blueprint to help guide development? Thanks! --sdake

Hmm... I don't think that making working items makes much sense here. I think that the assigne should just aim to get 100% coverage of Ansible modules, nothing more, nothing less. --nihilifer

Low or Medium priority blueprint not in Good Progress state or better. Removing this from Mitaka release. Will re-evaluate for inclusion in Newton. --sdake

Gerrit topic: https://review.openstack.org/#q,topic:bp/ansible-unit-tests,n,z

Addressed by: https://review.openstack.org/285138
    WIP: Added unit test for kolla_docker

Addressed by: https://review.openstack.org/286513
    Added unit test for check container

Gerrit topic: https://review.openstack.org/#q,topic:bp/ansible-unit-tests_1,n,z

Addressed by: https://review.openstack.org/327247
    WIP: Added unit test for check container

Addressed by: https://review.openstack.org/329847
    Added unit test for start container

Addressed by: https://review.openstack.org/329871
    Added unit test for start container

Addressed by: https://review.openstack.org/331524
    Add unit test for stop and restart container

Addressed by: https://review.openstack.org/331556
    Add test for remove container, get state and get env

Addressed by: https://review.openstack.org/334917
    Added unit test for image operation

Addressed by: https://review.openstack.org/335797
    Added unit test for volume opertaions

Addressed by: https://review.openstack.org/349771
    Added Test case for attribute comp

Addressed by: https://review.openstack.org/349808
    Added Test case for env and volume comp

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.