Add Unit Test Abstract Base in test_base 43/19143/2
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Mon, 16 Oct 2017 22:59:22 +0000 (15:59 -0700)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Wed, 18 Oct 2017 20:45:23 +0000 (13:45 -0700)
commit2264c0f8d0644770c747c99e23fd0af064a05b03
tree87a0158916a2e5447a06d0484d855b14360d3f41
parentba97c6ef5f6cda54d9b187770e57777f6ae22abc
Add Unit Test Abstract Base in test_base

This patch adds an Abstract Test class so that all common
type of test functions are in this class and they can be resused
without having to be repeated in each test case.

This patch also updates test_image to make use of the abstracted
test_base

Issue-Id: MULTICLOUD-83

Change-Id: If11ce71627f018a614e04e90d3353a4fc2fb3cfe
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
newton/newton/requests/tests/test_base.py
newton/newton/requests/tests/test_image.py