Fixed testing error handling by `up`

Signed-off-by: Ilya Skriblovsky <IlyaSkriblovsky@gmail.com>
This commit is contained in:
Ilya Skriblovsky 2016-03-11 12:59:24 +03:00
parent f933381a12
commit 5df774bd10
1 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@ import random
import py
import pytest
from docker.errors import APIError
from docker.errors import NotFound
from ..helpers import build_config
@ -738,8 +737,7 @@ class ProjectTest(DockerClientTestCase):
config_data=config_data,
)
with self.assertRaises(APIError):
project.up()
assert len(project.up()) == 0
@v2_only()
def test_project_up_volumes(self):