|
@ -2,12 +2,12 @@ |
|
|
|
|
|
|
|
|
from datetime import timedelta as td |
|
|
from datetime import timedelta as td |
|
|
import json |
|
|
import json |
|
|
|
|
|
from unittest.mock import patch, Mock |
|
|
|
|
|
|
|
|
from django.core import mail |
|
|
from django.core import mail |
|
|
from django.utils.timezone import now |
|
|
from django.utils.timezone import now |
|
|
from hc.api.models import Channel, Check, Notification |
|
|
from hc.api.models import Channel, Check, Notification |
|
|
from hc.test import BaseTestCase |
|
|
from hc.test import BaseTestCase |
|
|
from mock import patch, Mock |
|
|
|
|
|
from requests.exceptions import ConnectionError, Timeout |
|
|
from requests.exceptions import ConnectionError, Timeout |
|
|
from django.test.utils import override_settings |
|
|
from django.test.utils import override_settings |
|
|
|
|
|
|
|
|