Browse Source

Use unittest.mock instead of mock

The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ia7226d968b8594677fc8dea664b58a80ba193ac5
tags/7.2.0^0
Hervé Beraud 1 month ago
parent
commit
f751dd3782
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      neutronclient/tests/unit/osc/v2/trunk/test_network_trunk.py

+ 1
- 1
neutronclient/tests/unit/osc/v2/trunk/test_network_trunk.py View File

@@ -16,8 +16,8 @@
import argparse
import copy
from unittest import mock
from unittest.mock import call

from mock import call
from osc_lib.cli import format_columns
from osc_lib import exceptions
from osc_lib.tests import utils as tests_utils


Loading…
Cancel
Save