Use mock compatibility import

`tests/__init__.py` already has a try/except statement to use mock from
the standard library when possible.  Take advantage of it like other
tests already do.

Signed-off-by: Carl George <carl@george.computer>
This commit is contained in:
Carl George 2018-01-22 23:10:50 -06:00
parent fd1e8024f7
commit 8b5d32373e

View File

@ -2,9 +2,9 @@ from __future__ import absolute_import
from __future__ import unicode_literals from __future__ import unicode_literals
import docker import docker
import mock
import pytest import pytest
from .. import mock
from compose import bundle from compose import bundle
from compose import service from compose import service
from compose.cli.errors import UserError from compose.cli.errors import UserError