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

« back to all changes in this revision

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

  • Committer: Tom Wardill
  • Date: 2018-02-14 14:05:59 UTC
  • mfrom: (1602 work)
  • mto: (1597.1.44 django-1.10)
  • mto: This revision was merged to the branch mainline in revision 1603.
  • Revision ID: tom.wardill@canonical.com-20180214140559-ow5txzwy46nopws2
Merge flake8 changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright 2010-2018 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
 
4
import shutil
4
5
import StringIO
5
 
import shutil
6
6
import sys
7
7
import tempfile
8
8
 
9
9
from django.conf import settings
10
10
from django.core.handlers.wsgi import WSGIHandler
11
 
from django.core.management import call_command, CommandError
 
11
from django.core.management import CommandError, call_command
12
12
from wsgi_intercept import (
13
13
    add_wsgi_intercept,
14
14
    remove_wsgi_intercept,