replace mock with unittest.mock

This commit is contained in:
Leo Hemsted
2016-08-31 12:39:11 +01:00
parent c91358673f
commit 7240df0641
4 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ from datetime import datetime
import pytest
from freezegun import freeze_time
from mock import ANY
from unittest.mock import ANY
from sqlalchemy.exc import SQLAlchemyError
from sqlalchemy.orm.exc import NoResultFound