use unittest.mock instead of mock

This commit is contained in:
root 2025-02-19 15:24:33 +01:00
parent 9e2e7023fe
commit 5bdcb2a3a5
3 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,8 @@
from __future__ import absolute_import
import mock
try:
from unittest import mock
except ImportError:
import mock
import os
import rpm
import shutil