Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2012-09-21 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
---+
 Reporter:  stavros|Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Claude Paroz ):

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


Comment:

 In [changeset:"486e67598f8d8e83890ef3c90399d660d8e9eee6"]:
 {{{
 #!CommitTicketReference repository=""
 revision="486e67598f8d8e83890ef3c90399d660d8e9eee6"
 Fixed #10853 -- Skipped some sessions tests with dummy cache backend
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2012-09-21 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
---+
 Reporter:  stavros|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by ivan_virabyan):

 Can someone apply the patch to trunk?

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2012-03-06 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
---+
 Reporter:  stavros|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Testing framework  |  Version:  SVN
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by anonymous):

 Same problem for me. It's very annoying.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2011-11-11 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
---+
 Reporter:  stavros|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Testing framework  |  Version:  SVN
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by claudep):

 * needs_better_patch:  1 => 0
 * ui_ux:   => 0
 * easy:   => 0


Comment:

 Attached patch try to explicitely set the cache to LocMem instead of
 skipping the test when the dummy backend is setup.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2011-04-08 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
+-
   Reporter:  stavros   |Owner:  nobody
   Type:  Bug   |   Status:  new
  Milestone:|Component:  Testing framework
Version:  SVN   | Severity:  Normal
 Resolution:| Keywords:
   Triage Stage:  Accepted  |Has patch:  1
Needs documentation:  0 |  Needs tests:  0
Patch needs improvement:  1 |
+-
Changes (by SmileyChris):

 * type:   => Bug
 * severity:   => Normal


-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2010-11-13 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
+---
  Reporter:  stavros| Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  1  |  
+---
Changes (by b14ck):

  * needs_better_patch:  0 => 1
  * has_patch:  0 => 1
  * version:  1.0 => SVN

Comment:

 Hey guys, I took a crack at fixing this, you can see the patch / pull
 request here: https://github.com/django/django/pull/5

 Obviously, my patch is suboptimal, maybe someone could take a look at it
 and make it more elegant?

 I'd love to see this bug get squashed though, it is really annoying when
 running in development mode.

-- 
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 post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2009-08-06 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
+---
  Reporter:  stavros| Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  1.0   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by Alex):

  * 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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10853: Django unit test fails when using the dummy cache backend.

2009-05-11 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
+---
  Reporter:  stavros| Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  1.0   
Resolution: |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by andrewbadr):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Ran into this too. A solution might involve
 http://code.djangoproject.com/ticket/4788.

-- 
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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10853: Django unit test fails when using the dummy cache backend.

2009-04-17 Thread Django
#10853: Django unit test fails when using the dummy cache backend.
---+
 Reporter:  stavros|   Owner:  nobody
   Status:  new|   Milestone:
Component:  Testing framework  | Version:  1.0   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 When using the dummy cache backend, the test that tests the cache fails
 (understandably), but it's annoying to have a test fail when this is the
 indended behaviour. Shouldn't this check for the dummy backend and not run
 the test (or expect the test to fail) if so?

 {{{
 ==
 FAIL: Doctest: django.contrib.sessions.tests
 --
 Traceback (most recent call last):
   File "/Library/Python/2.5/site-packages/django/test/_doctest.py", line
 2180, in runTest
 raise self.failureException(self.format_failure(new.getvalue()))
 AssertionError: Failed doctest test for django.contrib.sessions.tests
   File "/Library/Python/2.5/site-
 packages/django/contrib/sessions/tests.py", line 0, in tests

 --
 File "/Library/Python/2.5/site-packages/django/contrib/sessions/tests.py",
 line 140, in django.contrib.sessions.tests
 Failed example:
 cache_session.exists(cache_session.session_key)
 Expected:
 True
 Got:
 False

 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---