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

Add an HTTP-level test that migration produces a 503. #137

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

rfk
Copy link
Contributor

@rfk rfk commented Jan 24, 2020

I wanted to test something about the behaviour of #136, so figured I may as well do it as an actual testcase. @jrconlin r?

@rfk rfk requested a review from jrconlin January 24, 2020 03:28
return orig_do_request(req, *args, **kwds)

orig_do_request = app.do_request
app.do_request = new_do_request
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell this was just duplicated code from the make_test_app method, so I cleaned it up while I was in here.

@jrconlin jrconlin merged commit 8fa6f5d into migration Jan 24, 2020
@jrconlin jrconlin deleted the migration-extra-test branch January 24, 2020 23:48
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

Successfully merging this pull request may close these issues.

None yet

2 participants