Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
jc-fireball committed Dec 3, 2015
1 parent 05186f8 commit eaf9158
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/tornado/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,29 +108,3 @@ def hello(request):
assert num_out_pendings(
server._dep_tchannel.peers.peers[0].connections
) == 0


@pytest.mark.gen_test
def test_pending_outgoing_mock():
server = TChannel('server')
server.listen()

@server.raw.register
def hello(request):
return 'hi'

client = TChannel('client')
yield client.raw(
hostport=server.hostport,
body='work',
endpoint='hello',
service='server'
)

assert num_out_pendings(
client._dep_tchannel.peers.get(server.hostport).connections
) == 0

assert num_out_pendings(
server._dep_tchannel.peers.peers[0].connections
) == 0

0 comments on commit eaf9158

Please sign in to comment.