Re: [Django] #21671: model_inheritance_same_model_name tests fail in isolation

2014-06-24 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  1.6
  (models, ORM)  |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by timo):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed in #22402 (the `model_inheritance_same_model_name` app was
 consolidated into `model_inheritance`).

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.ff3109f08f77b723b5657a0efe7e5ac8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21671: model_inheritance_same_model_name tests fail in isolation

2014-06-24 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.6
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by anubhav9042):

 * cc: anubhav9042@… (added)


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6bc1282fb9755b1dfc74e643979af001%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21671: model_inheritance_same_model_name tests fail in isolation

2014-06-06 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.6
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by aaugustin):

 That's a reasonable solution.

 We have an API to tell if an application is installed in Django 1.7:
 
https://docs.djangoproject.com/en/dev/ref/applications/#django.apps.apps.is_installed

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.f44d4719e0d237c398c7cfc8cd2e8abb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21671: model_inheritance_same_model_name tests fail in isolation

2014-02-15 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.6
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by claudep):

 Would it be acceptable that those tests are skipped when
 `model_inheritance` app is not tested/installed (as of attached patch)?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c9caaf8dd18898e958131f756adb8772%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21671: model_inheritance_same_model_name tests fail in isolation

2014-01-02 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.6
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by timo):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d2bed9358b01501261593325045e705e%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21671: model_inheritance_same_model_name tests fail in isolation

2013-12-25 Thread Django
#21671: model_inheritance_same_model_name tests fail in isolation
-+-
   Reporter:  aaugustin  |  Owner:  nobody
   Type:  Bug| Status:  new
  Component:  Database   |Version:  1.6
  layer (models, ORM)|   Keywords:
   Severity:  Normal |  Has patch:  0
   Triage Stage: |Needs tests:  0
  Unreviewed |  Easy pickings:  0
Needs documentation:  0  |
Patch needs improvement:  0  |
  UI/UX:  0  |
-+-
 {{{
 tests % ./runtests.py model_inheritance_same_model_name
 --settings=test_sqlite
 Creating test database for alias 'default'...
 Traceback (most recent call last):
   File "./runtests.py", line 359, in 
 options.failfast, args)
   File "./runtests.py", line 200, in django_tests
 test_labels or get_installed(), extra_tests=extra_tests)
   File "/Users/myk/Documents/dev/django/django/test/runner.py", line 145,
 in run_tests
 old_config = self.setup_databases()
   File "/Users/myk/Documents/dev/django/django/test/runner.py", line 107,
 in setup_databases
 return setup_databases(self.verbosity, self.interactive, **kwargs)
   File "/Users/myk/Documents/dev/django/django/test/runner.py", line 279,
 in setup_databases
 verbosity, autoclobber=not interactive)
   File "/Users/myk/Documents/dev/django/django/db/backends/creation.py",
 line 339, in create_test_db
 load_initial_data=False)
   File
 "/Users/myk/Documents/dev/django/django/core/management/__init__.py", line
 159, in call_command
 return klass.execute(*args, **defaults)
   File "/Users/myk/Documents/dev/django/django/core/management/base.py",
 line 284, in execute
 self.validate()
   File "/Users/myk/Documents/dev/django/django/core/management/base.py",
 line 314, in validate
 raise CommandError("One or more models did not validate:\n%s" %
 error_text)
 django.core.management.base.CommandError: One or more models did not
 validate:
 model_inheritance_same_model_name.copy: 'title' has a relation with model
 , which has either not been
 installed or is abstract.
 }}}

 This problem exists both in master and stable/1.6.x (I didn't check
 earlier versions).

 The tests pass only when they're run in combination with the
 model_inheritance tests.

 {{{
 tests % ./runtests.py model_inheritance_same_model_name model_inheritance
 --settings=test_sqlite
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 
 --
 Ran 8 tests in 0.053s

 OK
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

 It would be useful to fix this because it can create false positives when
 using the --bisect or --pair options of the test suite.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.0e5b958244dd19600f408b407bbfd837%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.