mirror of https://github.com/docker/compose.git
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:
parent
fd1e8024f7
commit
8b5d32373e
|
@ -2,9 +2,9 @@ from __future__ import absolute_import
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import docker
|
||||
import mock
|
||||
import pytest
|
||||
|
||||
from .. import mock
|
||||
from compose import bundle
|
||||
from compose import service
|
||||
from compose.cli.errors import UserError
|
||||
|
|
Loading…
Reference in New Issue