Skip to content

Commit

Permalink
fix testing utils mock import to prevent needing mock dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofgentoo committed Sep 18, 2019
1 parent 3b3f031 commit da197df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keg_auth/testing.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Using unicode_literals instead of adding 'u' prefix to all stings that go to SA.
from __future__ import unicode_literals

try:
from unittest import mock
except ImportError:
import mock

from blazeutils import tolist
from blazeutils.containers import LazyDict
from six.moves import urllib
import flask
import flask_webtest
import mock
import passlib
import wrapt

Expand Down

0 comments on commit da197df

Please sign in to comment.