Improve get_mock_session method 41/15741/3
authorVictor Morales <victor.morales@intel.com>
Tue, 26 Sep 2017 23:00:54 +0000 (16:00 -0700)
committerVictor Morales <victor.morales@intel.com>
Wed, 27 Sep 2017 00:32:53 +0000 (17:32 -0700)
commit244e346e9deefaa856a2a89fd1334a50d4f85b89
treeedd3a593368bfd14752778ca3e967fcbc5975955
parent9d02be9a1a42f0035186e2de69e4fd8ecc7845af
Improve get_mock_session method

The previous implementation of get_mock_session method didn't accept
other responses for different actions. This change makes it more
flexible

Change-Id: I68ceda07b1011cce4b81e22cf429393dfcbf73b1
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
newton/newton/requests/tests/test_base.py
newton/newton/requests/tests/test_server.py
newton/newton/requests/views/server.py