forked from pool/python-magic-wormhole-transit-relay
		
	
		
			
	
	
		
			33 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
|  | diff -upr magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_rlimits.py magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_rlimits.py
 | ||
|  | --- magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_rlimits.py	2022-05-17 17:47:03.933492047 +0200
 | ||
|  | +++ magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_rlimits.py	2022-05-17 17:47:03.937492072 +0200
 | ||
|  | @@ -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 -upr magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_service.py magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_service.py
 | ||
|  | --- magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_service.py	2022-05-17 17:47:03.933492047 +0200
 | ||
|  | +++ magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_service.py	2022-05-17 17:47:03.937492072 +0200
 | ||
|  | @@ -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 -upr magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_stats.py magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_stats.py
 | ||
|  | --- magic-wormhole-transit-relay-0.2.1.orig/src/wormhole_transit_relay/test/test_stats.py	2022-05-17 17:47:03.933492047 +0200
 | ||
|  | +++ magic-wormhole-transit-relay-0.2.1/src/wormhole_transit_relay/test/test_stats.py	2022-05-17 17:47:03.937492072 +0200
 | ||
|  | @@ -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 |