use unittest.mock instead of mock
This commit is contained in:
parent
9e2e7023fe
commit
5bdcb2a3a5
3 changed files with 12 additions and 3 deletions
|
|
@ -7,7 +7,10 @@ import tempfile
|
|||
import time
|
||||
import unittest
|
||||
|
||||
import mock
|
||||
try:
|
||||
from unittest import mock
|
||||
except ImportError:
|
||||
import mock
|
||||
import pytest
|
||||
|
||||
import koji
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue