Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide cool decorators #15

Open
gabrielfalcao opened this issue Jun 16, 2012 · 1 comment
Open

provide cool decorators #15

gabrielfalcao opened this issue Jun 16, 2012 · 1 comment

Comments

@gabrielfalcao
Copy link
Owner

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
@timofurrer
Copy link
Collaborator

@gabrielfalcao We should define a set of cool decorators to implement.
As well as we might want to be leave this as extensions once #31 is fully implemented.
What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants