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

TimoutException Test: a mozhttpd subclass with a delayed HTTP response and unittest #155

Open
Nebelhom opened this issue Sep 9, 2013 · 0 comments

Comments

@Nebelhom
Copy link
Collaborator

Nebelhom commented Sep 9, 2013

This issue can only be worked on once this pull request is landed.

In order to write a test for the TimeoutException in the scraper class, we would ideally need a mock server that can give a delayed HTTP response. We are using mozhttpd as our mock server, so presumably a subclass of the RequestHandler is needed, but I think this is open for discussion.

Best check the source of mozhttpd and also the discussion in the mentioned PR for more information and ideas.

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

No branches or pull requests

1 participant