Skip to content

Commit

Permalink
use mock library from standard lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi Oinonen committed May 16, 2024
1 parent fc6d7df commit a9ee103
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_archive_listener.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from test_archiver.archiver_listeners import ChangeEngineListener
from test_archiver.tests.unit.test_configs import FAKE_CHANGES_FILE_DATA_2
Expand Down
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_archiver_module.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=W0212

import unittest
from mock import Mock
from unittest.mock import Mock

from test_archiver import configs, archiver

Expand Down
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_change_engine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from test_archiver.archiver_listeners import ChangeEngineListener

Expand Down
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_configs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import argparse
import unittest
import mock
from unittest import mock

from test_archiver import configs

Expand Down
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
import shutil
import unittest
from mock import Mock
from unittest.mock import Mock

from test_archiver import database, configs

Expand Down
2 changes: 1 addition & 1 deletion test_archiver/tests/unit/test_ouput_parser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from test_archiver import configs, archiver
from test_archiver.output_parser import (
Expand Down

0 comments on commit a9ee103

Please sign in to comment.