unittest: use unittest.mock instead of mock
because the absence of unittest.mock on python2.7, we still fallback to mock
This commit is contained in:
parent
589e6bbb96
commit
ca05418fb5
390 changed files with 966 additions and 451 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
import koji
|
||||
import kojihub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue