use mock from stdlib, fixes #145

This commit is contained in:
Thomas Waldmann 2015-12-14 22:08:53 +01:00
parent 8a819d4499
commit dabac6a4ed
4 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
from datetime import datetime, timezone
from unittest.mock import Mock
import msgpack
from mock import Mock
from ..archive import Archive, CacheChunkBuffer, RobustUnpacker
from ..key import PlaintextKey

View File

@ -11,9 +11,9 @@ import shutil
import tempfile
import time
import unittest
from unittest.mock import patch
from hashlib import sha256
from mock import patch
import pytest
from .. import xattr

View File

@ -2,8 +2,7 @@ import os
import shutil
import sys
import tempfile
from mock import patch
from unittest.mock import patch
from ..hashindex import NSIndex
from ..helpers import Location, IntegrityError

View File

@ -1,6 +1,5 @@
virtualenv<14.0
tox
mock
pytest
pytest-cov<2.0.0
pytest-benchmark>=3.0.0