Beispiel #1
0
 def setUp(self):
     self.SIZE = 10 * 1000 * 1000
     self.test_file = write_test_file("source.txt", self.SIZE)
     self.target_path = os.path.join(gettempdir(), "target.txt")
     self.provider = MockProxyProvider(self.target_path)
Beispiel #2
0
 def setUp(self):
     self.SIZE = 10 * 1000 * 1000
     self.test_file = write_test_file("source.txt", self.SIZE)
     self.target_path = os.path.join(gettempdir(), "target.txt")
     self.provider = MockProxyProvider(self.target_path)