Opened 11 years ago
Closed 11 years ago
#24392 closed Bug (fixed)
Error running test suite when I use branch 1.7
| Reported by: | Gabriel Muñumel | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.7 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Hello guys.
I'm getting a weird error when I run the test suite in 1.7 branch.
The steps are:
1) Clone repository:
git clone git@github.com:github_nick/django.git
2) Run Test suite (everything goes fine)
3) Create a checkout for 1.7 branch:
git remote add upstream git@github.com:django/django.git git fetch upstream git checkout -b test_1_7 upstream/stable/1.7.x
4) Run the test:
PYTHONPATH=..:$PYTHONPATH ./runtests.py
5) Get this error:
Testing against Django installed in '/home/user/workspace/Code/django_orig/django/django'
Creating test database for alias 'default'...
Traceback (most recent call last):
File "./runtests.py", line 410, in <module>
options.failfast, args)
File "./runtests.py", line 252, in django_tests
test_labels or get_installed(), extra_tests=extra_tests)
File "/home/user/workspace/Code/django_orig/django/django/test/runner.py", line 147, in run_tests
old_config = self.setup_databases()
File "/home/user/workspace/Code/django_orig/django/django/test/runner.py", line 109, in setup_databases
return setup_databases(self.verbosity, self.interactive, **kwargs)
File "/home/user/workspace/Code/django_orig/django/django/test/runner.py", line 299, in setup_databases
serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE", True),
File "/home/user/workspace/Code/django_orig/django/django/db/backends/creation.py", line 385, in create_test_db
self.connection._test_serialized_contents = self.serialize_db_to_string()
File "/home/user/workspace/Code/django_orig/django/django/db/backends/creation.py", line 421, in serialize_db_to_string
serializers.serialize("json", get_objects(), indent=None, stream=out)
File "/home/user/workspace/Code/django_orig/django/django/core/serializers/__init__.py", line 128, in serialize
s.serialize(queryset, **options)
File "/home/user/workspace/Code/django_orig/django/django/core/serializers/base.py", line 52, in serialize
for obj in queryset:
File "/home/user/workspace/Code/django_orig/django/django/db/backends/creation.py", line 417, in get_objects
for obj in queryset.iterator():
File "/home/user/workspace/Code/django_orig/django/django/db/models/query.py", line 265, in iterator
for row in compiler.results_iter():
File "/home/user/workspace/Code/django_orig/django/django/db/models/sql/compiler.py", line 700, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/user/workspace/Code/django_orig/django/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/home/user/workspace/Code/django_orig/django/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/home/user/workspace/Code/django_orig/django/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/user/workspace/Code/django_orig/django/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/home/user/workspace/Code/django_orig/django/django/db/backends/sqlite3/base.py", line 485, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: sites_framework_syndicatedarticle
I also posted on Stackoverflow.
Any idea?
Sorry if this is not the place for this.
Change History (3)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Ensure you've removed .pyc files:
git clean -fdx