Skip to content
Snippets Groups Projects
Commit b73b8fd3 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Replace asyncmock with mock 4.x

parent 1d74a651
No related branches found
No related tags found
1 merge request!657Replace asyncmock with mock 4.x
from unittest.mock import patch
from asyncmock import AsyncMock
from mock import AsyncMock
from django.db.models import Q
from arkindex_common.enums import TranscriptionType, MetaType, EntityType
from arkindex.project.polygon import Polygon
......
from unittest.mock import patch
from asyncmock import AsyncMock
from mock import AsyncMock
from django.urls import reverse
from rest_framework import status
from arkindex.project.tests import FixtureTestCase
......
from asyncmock import AsyncMock
from mock import AsyncMock
from unittest.mock import patch
from django.contrib.auth.models import AnonymousUser
from django.db.models import Model, ProtectedError
......
from asyncmock import AsyncMock
from mock import AsyncMock
from unittest.mock import patch
from django.urls import reverse
from rest_framework import status
......
from pathlib import Path
from unittest.mock import patch
from asyncmock import AsyncMock
from mock import AsyncMock
from django.urls import reverse
from rest_framework import status
from arkindex.project.tests import FixtureAPITestCase
......
from django.urls import reverse
from unittest.mock import patch
from asyncmock import AsyncMock
from mock import AsyncMock
from rest_framework import status
from arkindex.project.tests import FixtureAPITestCase
from arkindex.project.polygon import Polygon
......
from unittest.mock import patch
from pathlib import Path
from asyncmock import AsyncMock
from mock import AsyncMock
from arkindex_common.enums import MetaType
from arkindex.project.tests import FixtureTestCase
from arkindex.project.polygon import Polygon
......
from unittest.mock import patch, call
from asyncmock import AsyncMock
from mock import AsyncMock
from arkindex.project.aws import S3FileStatus
from arkindex.project.tests import FixtureTestCase
import requests
......
......@@ -4,4 +4,4 @@ django-nose
coverage
uritemplate==3
responses
asyncmock==0.4.1
mock~=4.0.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment