~roadmr/canonical-identity-provider/fix-deprecation-warnings-1

« back to all changes in this revision

Viewing changes to src/identityprovider/tests/test_backend_nop_base.py

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Tom Wardill
  • Date: 2018-02-26 10:27:50 UTC
  • mfrom: (1597.1.68 canonical-identity-provider)
  • Revision ID: otto-copilot@canonical.com-20180226102750-i14x4w85e1stu1su
Update to django 1.11.

Merged from https://code.launchpad.net/~tom-howrandom/canonical-identity-provider/django-1.11/+merge/338452

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
class DatabaseWrapperTestCase(SimpleTestCase):
32
32
 
 
33
    # Silence Django warnings that SimpleTestCase cannot make DB queries
 
34
    allow_database_queries = True
 
35
 
33
36
    def test_cursor_returns_correct_instance(self):
34
37
        dbwrapper = DatabaseWrapper({})
35
38
        cursor = dbwrapper.cursor()