Re: [Django] #21742: Unable to prevent creation of a database during test runs

2016-07-21 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by sgzsh269):

 * owner:  sgzsh269 =>
 * status:  assigned => new


--
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/064.b67755e90e0621a31339cb1fbd7f3053%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2016-07-21 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:  sgzsh269
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by sgzsh269):

 * owner:   => sgzsh269
 * status:  new => assigned


--
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/064.62c1f97a9688fe7f5a4494cb9fe554c8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2014-02-15 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by marcov):

 * status:  assigned => new
 * owner:  marcov =>


-- 
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/064.214f1fe9780b4c87bfc786b2b4fc07e9%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2014-02-15 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:  marcov
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by marcov):

 * owner:  nobody => marcov
 * status:  new => assigned


-- 
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/064.72971b7f78ea71e2349d000e9c63859d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2014-01-27 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by carljm):

 * type:  Uncategorized => New feature


-- 
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/064.422f3d7f140a1faa0d56b81f4b144b6c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2014-01-07 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by yscumc):

 Another possibility is to have a more flexible option:
 {{{
 DATABASES = {
 'default': {
 ...
 },
 'someotherdb': {
 ...
 'TEST_SEPARATE_DATABASE': True,
 },
 }
 }}}

 - `'TEST_SEPARATE_DATABASE': True`: The default (current) behavior which
 creates a separate test database and modifies the db connection
 - `'TEST_SEPARATE_DATABASE': None`: The behavior described in the ticket
 above which will remove the database from the db connections
 - `'TEST_SEPARATE_DATABASE': False`: This should leave the db connection
 unchanged during `setup_databases()`, allowing for the unit tests to query
 the regular database. However, the Django test case classes would have to
 be updated to prevent the regular database from being wiped on each run.
 It may not be the best design for tests to depend on live data, but if the
 test was carefully coded, it should work well. This would alleviate the
 need for a separate test database server to be set up and mock fixtures to
 be created if only simple reads are done in the tests.

-- 
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/064.5e4c09382d852bbfcc356ecca0d1b7f0%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21742: Unable to prevent creation of a database during test runs

2014-01-07 Thread Django
#21742: Unable to prevent creation of a database during test runs
---+
 Reporter:  yscumc |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Testing framework  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by mjtamlyn):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 This seems a reasonable use case to me.

-- 
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/064.194939bf9abd89a81fa1452911cacb27%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.