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

« back to all changes in this revision

Viewing changes to src/webui/tests/test_views_registration.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:
13
13
from django.test.utils import override_settings
14
14
 
15
15
from gargoyle.testutils import switches
16
 
from mock import call, Mock
 
16
from mock import Mock, call
17
17
from oath import hotp
 
18
from ssoclient.v2 import errors as api_errors
18
19
 
19
20
from identityprovider.fields import (
20
21
    FIELD_REQUIRED,
28
29
    TWOFACTOR_SYNC_ERROR,
29
30
    AuthenticationDevice,
30
31
)
 
32
from identityprovider.tests import DEFAULT_USER_PASSWORD
31
33
from identityprovider.tests.utils import SSOBaseTestCase, TimelineActionMixin
32
 
from identityprovider.tests import DEFAULT_USER_PASSWORD
33
34
 
34
35
from webui.constants import (
35
36
    EMAIL_EXISTS_ERROR,
41
42
    WEB_CREATION_SOURCE,
42
43
    new_account,
43
44
)
44
 
from ssoclient.v2 import errors as api_errors
45
45
 
46
46
 
47
47
class RegisterTestMixin(object):