Merge "Some optimizations about unit test"
authorAlex Yang <yangyang1@zte.com.cn>
Wed, 20 Sep 2017 02:09:28 +0000 (02:09 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 20 Sep 2017 02:09:28 +0000 (02:09 +0000)
1  2 
tests/unit/test_utils.py

@@@ -7,13 -7,11 +7,14 @@@
  # http://www.apache.org/licenses/LICENSE-2.0
  ##############################################################################
  import os
 -
 +import mock
  import pytest
+ import mock
  
 +from deploy import utils
  from deploy.utils import (
 +    err_exit,
 +    check_sudo_privilege,
      check_file_exists,
      make_file_executable,
      confirm_dir_exists,