Add UTs for requests/flavors 71/15171/1
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Mon, 25 Sep 2017 18:38:08 +0000 (11:38 -0700)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Mon, 25 Sep 2017 18:38:08 +0000 (11:38 -0700)
commite0380f9f3748b63c1b8878ea648227d6280fd96f
tree41b06a649572155c4cc7ada6fb90b190c4d38447
parentbbf06d956cc694cfa956a3d4fca3b36b9ce67b91
Add UTs for requests/flavors

This patch adds unit tests for requests/flavors and moves
the common mock info to a seperate file to avoid multiple
copies in each test file.

Change-Id: Iacd37742d5c32dc60cbeece00e5c30b983f99881
Issue-Id: MULTICLOUD-83
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
newton/newton/requests/tests/mock_info.py [new file with mode: 0644]
newton/newton/requests/tests/test_flavor.py [new file with mode: 0644]
newton/newton/requests/tests/test_network.py
newton/newton/requests/views/flavor.py