django test fix attempt

This commit is contained in:
Josh Krawczyk 2020-06-14 23:05:42 -04:00
parent 67cdbe559d
commit 2ec3896f27
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
from django.test import TestCase
from django.utils import timezone as djangotime
from unittest.mock import patch
from rest_framework.test import APIClient
from rest_framework.test import force_authenticate
@ -12,7 +14,7 @@ from automation.models import Policy
from core.models import CoreSettings
from checks.models import Check
@patch('automation.tasks.generate_agent_checks_from_policies_task.delay')
class BaseTestCase(TestCase):
def setUp(self):