示例#1
0
 def test_throttled_socket_recv(self):
     fake = FakeSocket()
     throttled = ThrottledSocket(100, 100, fake)
     assert throttled.recv() == fake.recv()