mirror of
https://github.com/docker/compose.git
synced 2025-07-06 13:24:25 +02:00
Fixed testing error handling by up
Signed-off-by: Ilya Skriblovsky <IlyaSkriblovsky@gmail.com>
This commit is contained in:
parent
f933381a12
commit
5df774bd10
@ -5,7 +5,6 @@ import random
|
|||||||
|
|
||||||
import py
|
import py
|
||||||
import pytest
|
import pytest
|
||||||
from docker.errors import APIError
|
|
||||||
from docker.errors import NotFound
|
from docker.errors import NotFound
|
||||||
|
|
||||||
from ..helpers import build_config
|
from ..helpers import build_config
|
||||||
@ -738,8 +737,7 @@ class ProjectTest(DockerClientTestCase):
|
|||||||
config_data=config_data,
|
config_data=config_data,
|
||||||
)
|
)
|
||||||
|
|
||||||
with self.assertRaises(APIError):
|
assert len(project.up()) == 0
|
||||||
project.up()
|
|
||||||
|
|
||||||
@v2_only()
|
@v2_only()
|
||||||
def test_project_up_volumes(self):
|
def test_project_up_volumes(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user