Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

[Feature request] Add test transports (in memory) #179

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
for acceptance testing protocol client<>server setups it tends to be really 
helpful to line them up with transports in a single process, so one can operate 
on all involved items but without involving the os and with having the 
capability to log the sequence of interactions for each connection

i could imagine something like this p:

...
transports = TestTransports(loop, lambda: serverprotocol)

client = yield from transports.connect(make_client)
yield from client.send_file('x', 'some_content')

client2 = yield from transports.connect(make_client)
content = yield from client2.get_file('x')
assert content == 'some_content'

Original issue reported on code.google.com by ronny.pfannschmidt on 28 Jun 2014 at 7:34

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions