Skip to content

Instantly share code, notes, and snippets.

@MatonAnthony
Last active August 11, 2016 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatonAnthony/2cb11bc43a5e4cf75181ded696257b41 to your computer and use it in GitHub Desktop.
Save MatonAnthony/2cb11bc43a5e4cf75181ded696257b41 to your computer and use it in GitHub Desktop.
========================================================================================= short test summary info ==========================================================================================
XFAIL kuma/core/tests/test_urlresolvers.py::BestLanguageTests::test_nonprefix_alias
no clue what is up with norwegian locales
XFAIL kuma/wiki/tests/test_templates.py::TranslateTests::test_translate_based_on
Figure out wtf is going on with this test.
XFAIL kuma/wiki/tests/test_templates.py::ArticlePreviewTests::test_preview_locale
broken test
XPASS kuma/wiki/tests/test_templates.py::TranslateTests::test_translate_form_maintains_based_on_rev Figure out wtf is going on with this test
================================================================================================= FAILURES =================================================================================================
_____________________________________________________________________________________ RevisionsDashTest.test_main_view _____________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/dashboards/tests/test_views.py", line 25, in test_main_view
[template.name for template in response.templates])
File "/home/vagrant/src/kuma/core/tests/__init__.py", line 34, in ok_
assert pred, msg
AssertionError: False != True
_____________________________________________________________________________________ BanTestCase.test_ban_middleware ______________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_middleware.py", line 26, in test_ban_middleware
self.assertTemplateUsed(resp, 'users/user_banned.html')
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/testcases.py", line 543, in assertTemplateUsed
(template_name, ', '.join(template_names)))
File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
raise self.failureException(msg)
AssertionError: Template 'users/user_banned.html' was not a template used to render the response. Actual template(s) used: waffle/waffle.js, persona/auth.html
____________________________________________________________________________________ UserViewsTest.test_bug_698126_l10n ____________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1019, in test_bug_698126_l10n
for field in response.context['user_form'].fields:
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'user_form'
___________________________________________________________________________________ KumaGitHubTests.test_email_addresses ___________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1184, in test_email_addresses
email_address = response.context['email_addresses']
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'email_addresses'
________________________________________________________________________ KumaGitHubTests.test_email_addresses_with_no_alternatives _________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1238, in test_email_addresses_with_no_alternatives
self.assertEqual(response.context["form"].initial["email"],
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'form'
___________________________________________________________________________ KumaGitHubTests.test_email_addresses_with_no_public ____________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1231, in test_email_addresses_with_no_public
self.assertEqual(response.context["form"].initial["email"],
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'form'
__________________________________________________________________________________ KumaGitHubTests.test_matching_accounts __________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1257, in test_matching_accounts
self.assertFalse(response.context['matching_accounts'])
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'matching_accounts'
____________________________________________________________________________________ KumaGitHubTests.test_matching_user ____________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1157, in test_matching_user
self.assertTrue('matching_user' in response.context)
File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
_________________________________________________________________________________ KumaGitHubTests.test_no_email_addresses __________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1247, in test_no_email_addresses
self.assertEqual(response.context["form"].initial["email"], '')
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'form'
___________________________________________________________________________________ KumaGitHubTests.test_signin_captcha ____________________________________________________________________________________
Traceback (most recent call last):
File "/home/vagrant/env/local/lib/python2.7/site-packages/constance/test/utils.py", line 35, in inner
return test_func(*args, **kwargs)
File "/home/vagrant/src/kuma/users/tests/test_views.py", line 1151, in test_signin_captcha
eq_(response.context['form'].errors,
File "/home/vagrant/env/local/lib/python2.7/site-packages/django/test/utils.py", line 68, in __getitem__
raise KeyError(key)
KeyError: 'form'
====================================================================== 10 failed, 734 passed, 3 xfailed, 1 xpassed in 408.27 seconds =======================================================================
make: *** [test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment