Added unit tests for api_check, health_check, and smoke tests. 61/35661/3
authorspisarski <s.pisarski@cablelabs.com>
Thu, 1 Jun 2017 14:04:24 +0000 (08:04 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Tue, 20 Jun 2017 13:44:48 +0000 (07:44 -0600)
commite98be297ea911c9185fc263cd325b558a0a20ea9
tree6f0e1a1845ce6e7474621cba58576a3273fd59c7
parentcce3644b0b0186676de974d32e02219e2ae5dc50
Added unit tests for api_check, health_check, and smoke tests.

In addition to the creation of the unit tests, this patch simplifies
the mocks for connection check as there was an unused annotation.
This patch also refactors the building of the test suite from the
constructor to the run() method.

JIRA: FUNCTEST-813

Change-Id: I7ff5d0389db36141a33ee3a8f76e04b922f8a95f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
functest/opnfv_tests/openstack/snaps/api_check.py
functest/opnfv_tests/openstack/snaps/health_check.py
functest/opnfv_tests/openstack/snaps/smoke.py
functest/tests/unit/openstack/snaps/test_snaps.py