Merge pull request #1330 from jooola/feat/use_stdlib_mock

Replace mock with stdlib unittest.mock
This commit is contained in:
Kyle Robbertze 2021-09-07 11:51:20 +00:00 committed by GitHub
commit df3e61bfdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
distro
mock
pylint
pytest
pytest-cov

View File

@ -2,8 +2,8 @@ import os
import shutil
import tempfile
import time
from unittest import mock
import mock
import pytest
from airtime_analyzer.filemover_analyzer import FileMoverAnalyzer

View File

@ -1,6 +1,6 @@
from datetime import timedelta
from unittest import mock
import mock
import mutagen
import pytest
from airtime_analyzer.metadata_analyzer import MetadataAnalyzer

View File

@ -1,4 +1,3 @@
mock
pylint
pytest
pytest-cov

View File

@ -1,5 +1,6 @@
from unittest.mock import MagicMock, patch
from api_clients.utils import ApcUrl, ApiRequest
from mock import MagicMock, patch
def test_api_request_init():