Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491318 - =dev-python/django-1.6.1 version bump / test failure
Summary: =dev-python/django-1.6.1 version bump / test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL: https://code.djangoproject.com/ticket...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 11:46 UTC by Christian Strahl
Modified: 2014-01-18 22:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Strahl 2013-11-15 11:46:50 UTC
django-1.6 was released on 2013-11-06:
    https://www.djangoproject.com/weblog/2013/nov/06/django-16-released/

Please bump.

Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2013-12-17 06:22:43 UTC
======================================================================
ERROR: test_dotted_test_class_vanilla_unittest (test_runner.test_discover_runner.DiscoverRunnerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/test_runner/test_discover_runner.py", line 33, in test_dotted_test_class_vanilla_unittest
    ["test_discovery_sample.tests_sample.TestVanillaUnittest"],
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/django/test/runner.py", line 63, in build_suite
    tests = self.test_loader.loadTestsFromName(label)
  File "/usr/lib64/python3.3/site-packages/unittest2/loader.py", line 125, in loadTestsFromName
    (obj, test))
TypeError: calling <class 'test_discovery_sample.tests_sample.TestVanillaUnittest'> returned runTest (test_discovery_sample.tests_sample.TestVanillaUnittest), not a test

======================================================================
ERROR: test_dotted_test_method_vanilla_unittest (test_runner.test_discover_runner.DiscoverRunnerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/test_runner/test_discover_runner.py", line 57, in test_dotted_test_method_vanilla_unittest
    ["test_discovery_sample.tests_sample.TestVanillaUnittest.test_sample"],
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/django/test/runner.py", line 63, in build_suite
    tests = self.test_loader.loadTestsFromName(label)
  File "/usr/lib64/python3.3/site-packages/unittest2/loader.py", line 118, in loadTestsFromName
    test = obj()
TypeError: test_sample() missing 1 required positional argument: 'self'

======================================================================
FAIL: test_dont_base64_encode (mail.tests.MailTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/mail/tests.py", line 330, in test_dont_base64_encode
    self.assertTrue(str('Content-Transfer-Encoding: 8bit') in s)
AssertionError: False is not True

======================================================================
FAIL: test_dotted_test_module (test_runner.test_discover_runner.DiscoverRunnerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/test_runner/test_discover_runner.py", line 29, in test_dotted_test_module
    self.assertEqual(count, 3)
AssertionError: 2 != 3

======================================================================
FAIL: test_file_path (test_runner.test_discover_runner.DiscoverRunnerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/test_runner/test_discover_runner.py", line 99, in test_file_path
    self.assertEqual(count, 4)
AssertionError: 2 != 4

======================================================================
FAIL: test_pattern (test_runner.test_discover_runner.DiscoverRunnerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-1.6.1/work/Django-1.6.1/tests/test_runner/test_discover_runner.py", line 81, in test_pattern
    self.assertEqual(count, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 5895 tests in 251.549s

FAILED (failures=4, errors=2, skipped=443, expected failures=10)
Creating test database for alias 'default'...
Creating test database for alias 'other'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
 * ERROR: dev-python/django-1.6.1::gentoo failed (test phase):
 *   Tests fail with python3.3
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-01-18 22:27:54 UTC
*django-1.6.1 (17 Jan 2014)

  17 Jan 2014; Ian Delaney <idella4@gentoo.org> +django-1.6.1.ebuild,
  +files/django-1.6-objects.patch:
  bump; re-base of objects.patch, fix testsuite with sed statement, thanks to
  Arfrever, fixes Bug #491318