def server(request): t = Server() t.socket_name = 'tmuxp_test%s' % next(namer) def fin(): t.kill_server() request.addfinalizer(fin) return t
def server(request, socket_name): t = Server() t.socket_name = socket_name def fin(): t.kill_server() request.addfinalizer(fin) return t
def server(request): t = Server() t.socket_name = 'tmuxp_test%s' % next(namer) def fin(): t.kill_server() request.addfinalizer(fin) return t
def server(request, monkeypatch): t = Server() t.socket_name = "tmuxp_test%s" % next(namer) def fin(): t.kill_server() request.addfinalizer(fin) return t
def server(): t = Server() t.socket_name = 'tmuxp_test%s' % next(namer) return t
def server(): t = Server() t.socket_name = 'tmuxp_test%s' % next(namer) return t