Add unit test for the utils function check_password

This commit is contained in:
Valentin Samir
2016-06-26 21:44:41 +02:00
parent 6faeaad57e
commit 2fac47f0b1
3 changed files with 66 additions and 10 deletions

View File

@ -15,7 +15,6 @@ from django.contrib.auth import get_user_model
try: # pragma: no cover
import MySQLdb
import MySQLdb.cursors
import crypt
from utils import check_password
except ImportError:
MySQLdb = None