Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Yushkovskiy committed Feb 20, 2019
1 parent 68bad06 commit 729351f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion python/neuromation/client/parsing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def _parse_as_neuro_image(self, image: str) -> DockerImage:
if not image:
raise ValueError("empty image name")
if not self.is_in_neuro_registry(image):
raise ValueError(f"scheme '{IMAGE_SCHEME}://' is required")
raise ValueError(
f"scheme '{IMAGE_SCHEME}://' is required for remote images"
)

url = URL(image)
assert url.scheme == IMAGE_SCHEME
Expand Down
2 changes: 0 additions & 2 deletions python/tests/e2e/test_e2e_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import pytest
from yarl import URL

from neuromation.cli.rc import ConfigFactory
from neuromation.client import JobStatus
from tests.e2e.utils import attempt

Expand Down Expand Up @@ -76,7 +75,6 @@ def test_images_complete_lifecycle(helper, run_cli, image, tag, loop, docker):
loop.run_until_complete(docker.images.delete(pulled_image, force=True))

# Execute image and check result
ConfigFactory.load()
captured = run_cli(
[
"job",
Expand Down

0 comments on commit 729351f

Please sign in to comment.