~ubuntu-branches/ubuntu/trusty/python-django/trusty-security

« back to all changes in this revision

Viewing changes to tests/regressiontests/cache/tests.py

  • Committer: Package Import Robot
  • Author(s): Barry Warsaw
  • Date: 2011-08-23 17:57:46 UTC
  • Revision ID: package-import@ubuntu.com-20110823175746-vue37tuhfqoy16l0
Tags: 1.3-2ubuntu1
* 09_test_view_decorator_sleep.diff increases the sleep time to
  reduce race condition effects on build machines.
  https://code.djangoproject.com/ticket/16686  (LP: #829487)
* Remove build-dep on locales-all which isn't in the Ubuntu archive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1426
1426
        self.assertEqual(response.content, 'Hello World 10')
1427
1427
 
1428
1428
        # And if we wait a few more seconds
1429
 
        time.sleep(2)
 
1429
        time.sleep(5)
1430
1430
 
1431
1431
        # the custom timeouot cache will miss
1432
1432
        response = other_with_timeout_view(request, '18')