Remove AnsibleCommon class method mock 69/58769/1
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fri, 1 Jun 2018 10:48:33 +0000 (11:48 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 20 Jun 2018 12:21:35 +0000 (12:21 +0000)
commit6e5ec7f0f6f1a5a82eeab2650639fc303885bcd6
tree3f02599066906e86e6a1bff5b569696be9568268
parentc87a5438961cba359629800b31df3ad7f656aff8
Remove AnsibleCommon class method mock

In [1], several methods in "AnsibleCommon" class are mocked, but those
mocks are not removed after the test execution. Depending on the test
execution order, this affects other results.

[1] https://github.com/opnfv/yardstick/blob/stable/fraser/yardstick/tests/unit/service/test_environment.py#L20

JIRA: YARDSTICK-1214

Change-Id: I85ef702b3b5b2fda5cf453a21b9f0bec61b155f0
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit e204c5063ab86d4ed2bff296959afae43866890f)
yardstick/tests/unit/service/test_environment.py