-
Notifications
You must be signed in to change notification settings - Fork 203
Add test for /activity/user
#1428
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
Comments
Tests in test_rendering are working and correctly check /activity/username template… BUT to be able to make it work correctly I had to modified a bit I changed a bit the way we do test_urls.py and went from all to two tests breaking. 1 ERROR and 1 FAILURE. I have hope. :) Mostly related to the fact that these tests are calling… GitHub when a username is given. So I need to find a better way of managing side effects. And probably at the same time, if I find an elegant solution that would make #1384 a lot easier to implement. Suggestions are welcome. I wonder if @vladikoff has one idea or two. Or if I'm doing it really wrong. |
To finish up #1419 (fixes #1412 ), there needs to be one more title added to the array being tested in
test_rendering.py
- the title for/activity/user
. This will require mocking the circumstances of the /activity template. More info here.The text was updated successfully, but these errors were encountered: