mirror of
https://github.com/caronc/apprise.git
synced 2025-08-11 01:04:52 +02:00
RHEL9 Support - Test cases to leverage unittest.mock when possible (#658)
This commit is contained in:
@ -24,7 +24,14 @@
|
||||
# THE SOFTWARE.
|
||||
|
||||
import six
|
||||
import mock
|
||||
try:
|
||||
# Python 3.x
|
||||
from unittest import mock
|
||||
|
||||
except ImportError:
|
||||
# Python 2.7
|
||||
import mock
|
||||
|
||||
import sys
|
||||
import types
|
||||
import pytest
|
||||
|
Reference in New Issue
Block a user