simplify unit tests implementation of update scenario
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 23 Aug 2017 06:32:41 +0000 (14:32 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 25 Aug 2017 05:54:42 +0000 (13:54 +0800)
commitba0f958ee7f5d0b632f16578fafd7de45997b291
tree3676e9e64eeaad2e54a511515d8e64b1af59e469
parent3fbd55c9b9550c0248827eb705d60ec2ce4cc658
simplify unit tests implementation of update scenario

1. delete useless input arguments
2. update on and assert with self.req_d directly
   delete intermediate variable 'scenario'

Change-Id: I3eda1df4893c890bb23ccf05b45ce2de5fa9dd93
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/tests/unit/resources/test_scenario.py