gabrielfalcao/sure

provide cool decorators

Open

#15 aberto em 16 de jun. de 2012

Ver no GitHub
 (1 comment) (0 reactions) (1 assignee)Python (75 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (686 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

that fails if a TCP port is busy

from sure import expect

@expect.free_port(8000)
def test_my_server():
    # run the server
    # run assertions against http request/responses

Guia do colaborador