From 85f3f5b63cd281f539cffb44a07d281681b9f87e Mon Sep 17 00:00:00 2001 From: meejah Date: Fri, 2 Apr 2021 15:52:28 -0600 Subject: [PATCH] 'mock' location --- src/wormhole_transit_relay/test/test_rlimits.py | 2 +- src/wormhole_transit_relay/test/test_service.py | 2 +- src/wormhole_transit_relay/test/test_stats.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wormhole_transit_relay/test/test_rlimits.py b/src/wormhole_transit_relay/test/test_rlimits.py index 10497e4..3ee23a9 100644 --- a/src/wormhole_transit_relay/test/test_rlimits.py +++ b/src/wormhole_transit_relay/test/test_rlimits.py @@ -1,5 +1,5 @@ from __future__ import print_function, unicode_literals -import mock +from unittest import mock from twisted.trial import unittest from ..increase_rlimits import increase_rlimits diff --git a/src/wormhole_transit_relay/test/test_service.py b/src/wormhole_transit_relay/test/test_service.py index dac642c..f72765c 100644 --- a/src/wormhole_transit_relay/test/test_service.py +++ b/src/wormhole_transit_relay/test/test_service.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals, print_function from twisted.trial import unittest -import mock +from unittest import mock from twisted.application.service import MultiService from .. import server_tap diff --git a/src/wormhole_transit_relay/test/test_stats.py b/src/wormhole_transit_relay/test/test_stats.py index f9433ef..43b912f 100644 --- a/src/wormhole_transit_relay/test/test_stats.py +++ b/src/wormhole_transit_relay/test/test_stats.py @@ -1,6 +1,6 @@ from __future__ import print_function, unicode_literals import os, io, json, sqlite3 -import mock +from unittest import mock from twisted.trial import unittest from ..transit_server import Transit from .. import database