Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ..
- ======================================================================
- ERROR: test_ticket_16885 (regressiontests.test_runner.tests.Ticket16885RegressionTests)
- Features are also confirmed on mirrored databases.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/akaariai/Programming/django/tests/regressiontests/test_runner/tests.py", line 203, in test_ticket_16885
- DjangoTestSuiteRunner(verbosity=0).setup_databases()
- File "/home/akaariai/Programming/django/tests/django/test/simple.py", line 306, in setup_databases
- self.verbosity, autoclobber=not self.interactive)
- File "/home/akaariai/Programming/django/tests/django/db/backends/creation.py", line 271, in create_test_db
- load_initial_data=False)
- File "/home/akaariai/Programming/django/tests/django/core/management/__init__.py", line 150, in call_command
- return klass.execute(*args, **defaults)
- File "/home/akaariai/Programming/django/tests/django/core/management/base.py", line 248, in execute
- sys.exit(1)
- SystemExit: 1
- ======================================================================
- FAIL: test_attribute_name_not_python_keyword (regressiontests.inspectdb.tests.InspectDBTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/akaariai/Programming/django/tests/django/test/testcases.py", line 856, in skip_wrapper
- return test_func(*args, **kwargs)
- File "/home/akaariai/Programming/django/tests/regressiontests/inspectdb/tests.py", line 17, in test_attribute_name_not_python_keyword
- out.getvalue())
- AssertionError: 'people_pk = models.ForeignKey(InspectdbPeople, primary_key=True)' not found in u"# This is an auto-generated Django model module.\n# You'll have to do the following manually to clean this up:\n#
- <SNIP>
- ======================================================================
- FAIL: test_parsing_errors (regressiontests.test_utils.tests.HTMLEqualTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/akaariai/Programming/django/tests/regressiontests/test_utils/tests.py", line 426, in test_parsing_errors
- parse_html('<!--')
- AssertionError: HTMLParseError not raised
- ----------------------------------------------------------------------
- Ran 4694 tests in 2986.866s
- FAILED (failures=2, errors=1, skipped=85, expected failures=2)
- ************
- * ANALYSIS *
- ************
- The test_utils error is due to my Python version (2.7.3rc2). It is not oracle related, and is covered in ticket #18027.
- The inspectdb failure is caused by erroneous query in oracle/inspection.py get_indexes() and is covered by ticket #18082.
- The test_runner failure is caused by model validation. The reason is that somewhere Oracle sets null=True for character fields, but this causes model validation errors for primary key fields. I think I have seen discussion about this, but I can find a ticket. Here is the full output of test_runner tests:
- ./runtests.py --settings=test_oracle test_runner
- Creating test database for alias 'default'...
- Creating test user...
- Creating test database for alias 'other'...
- Creating test user...
- ...........sError: One or more models did not validate:
- sessions.session: "session_key": Primary key fields cannot have null=True.
- E.
- ======================================================================
- ERROR: test_ticket_16885 (regressiontests.test_runner.tests.Ticket16885RegressionTests)
- Features are also confirmed on mirrored databases.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/akaariai/Programming/django/tests/regressiontests/test_runner/tests.py", line 203, in test_ticket_16885
- DjangoTestSuiteRunner(verbosity=0).setup_databases()
- File "/home/akaariai/Programming/django/tests/django/test/simple.py", line 306, in setup_databases
- self.verbosity, autoclobber=not self.interactive)
- File "/home/akaariai/Programming/django/tests/django/db/backends/creation.py", line 271, in create_test_db
- load_initial_data=False)
- File "/home/akaariai/Programming/django/tests/django/core/management/__init__.py", line 150, in call_command
- return klass.execute(*args, **defaults)
- File "/home/akaariai/Programming/django/tests/django/core/management/base.py", line 248, in execute
- sys.exit(1)
- SystemExit: 1
- ----------------------------------------------------------------------
- Ran 14 tests in 1.003s
- FAILED (errors=1, skipped=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement