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 a synchronous test client #5

Open
eugeniy opened this issue Feb 10, 2015 · 1 comment
Open

add a synchronous test client #5

eugeniy opened this issue Feb 10, 2015 · 1 comment

Comments

@eugeniy
Copy link
Owner

eugeniy commented Feb 10, 2015

fetch() should take a path, use base_url to convert it to an absolute url for the test server.

Needs to work inside the gen_test decorator, so probably can't just run_sync in both places.

@dingyaguang117
Copy link

Yes, gen_test can't work with mock.patch, a synchronous client is necessary.

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