From 7ef71104a8598665bd8a55256500b91783ed26ee Mon Sep 17 00:00:00 2001 From: Alex Laird Date: Tue, 5 Dec 2023 15:21:44 -0600 Subject: [PATCH] Remove mock dependency from pip. --- project_id/app/tests/helpers/commonhelper.py | 2 +- project_id/app/tests/views/apis/testcasestatusviews.py | 3 ++- requirements-dev.txt | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project_id/app/tests/helpers/commonhelper.py b/project_id/app/tests/helpers/commonhelper.py index c235202..0e9d50b 100644 --- a/project_id/app/tests/helpers/commonhelper.py +++ b/project_id/app/tests/helpers/commonhelper.py @@ -1,4 +1,4 @@ -from mock import mock +from unittest import mock __author__ = "Alex Laird" __copyright__ = "Copyright 2019, Helium Edu" diff --git a/project_id/app/tests/views/apis/testcasestatusviews.py b/project_id/app/tests/views/apis/testcasestatusviews.py index 57274c6..2f43b69 100644 --- a/project_id/app/tests/views/apis/testcasestatusviews.py +++ b/project_id/app/tests/views/apis/testcasestatusviews.py @@ -1,8 +1,9 @@ import json +from unittest import mock + from django.db import IntegrityError from django.urls import reverse -from mock import mock from rest_framework import status from rest_framework.test import APITestCase diff --git a/requirements-dev.txt b/requirements-dev.txt index 703825a..51999d4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,2 @@ pyngrok==7.0.3 -mock==5.0.2 -coverage \ No newline at end of file +coverage