mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user