#24392: Error running test suite when I use branch 1.7
-------------------------------+--------------------
     Reporter:  gmunumel       |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.7
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 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 [email protected]:github_nick/django.git
 }}}
 2) Run Test suite (everything goes fine)
 3) Create a checkout for 1.7 branch:
 {{{
 git remote add upstream [email protected]: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 [http://stackoverflow.com/questions/28573564/error-
 running-djangos-test-suite Stackoverflow].

 Any idea?

 Sorry if this is not the place for this.

--
Ticket URL: <https://code.djangoproject.com/ticket/24392>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.efff47f89bd329e105fe90c89a2e8bc1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to