tests: Use unittest.mock

Related: rhbz#1785154
This commit is contained in:
Brian C. Lane 2020-02-05 11:02:29 -08:00
parent cb92c839f2
commit ce0f9c4ebf
2 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import os
import mock
from pytoml import TomlError
import shutil
import tempfile
import unittest
from unittest import mock
import pylorax.api.recipes as recipes
from pylorax.api.compose import add_customizations, customize_ks_template

View File

@ -15,10 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import os
import mock
import shutil
import tempfile
import unittest
from unittest import mock
import pylorax.api.recipes as recipes
from pylorax.api.workspace import workspace_dir, workspace_read, workspace_write, workspace_delete