Skip to content

Commit

Permalink
INFRA-947 - Parse v1 fiaas.yml to new model
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Sep 6, 2016
1 parent 0ebe8bc commit 302e4b7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions tests/k8s/test_deployer.py
Expand Up @@ -4,10 +4,9 @@
from pprint import pformat

import pytest

from k8s.models.common import ObjectMeta
from k8s.models.pod import ContainerPort, Container, LocalObjectReference, Probe, HTTPGetAction, TCPSocketAction
from k8s.models.deployment import Deployment, DeploymentSpec, LabelsSelector, PodTemplateSpec, PodSpec
from k8s.models.pod import ContainerPort, Container, LocalObjectReference, Probe, HTTPGetAction, TCPSocketAction
from util import get_vcr

vcr = get_vcr(__file__)
Expand Down
1 change: 0 additions & 1 deletion tests/k8s/test_ingress.py
Expand Up @@ -4,7 +4,6 @@
from pprint import pformat

import pytest

from k8s.models.common import ObjectMeta
from k8s.models.ingress import Ingress, IngressSpec, IngressRule, IngressBackend, HTTPIngressPath, HTTPIngressRuleValue
from util import get_vcr
Expand Down
1 change: 0 additions & 1 deletion tests/k8s/test_pod.py
Expand Up @@ -4,7 +4,6 @@
from pprint import pformat

import pytest

from k8s.models.common import ObjectMeta
from k8s.models.pod import Pod, ContainerPort, Container, LocalObjectReference, PodSpec, Volume, VolumeMount, SecretVolumeSource
from util import get_vcr
Expand Down
1 change: 0 additions & 1 deletion tests/k8s/test_replication_controller.py
Expand Up @@ -4,7 +4,6 @@
from pprint import pformat

import pytest

from k8s.models.common import ObjectMeta
from k8s.models.pod import ContainerPort, Container, LocalObjectReference, Probe, HTTPGetAction, TCPSocketAction
from k8s.models.replication_controller import ReplicationController, ReplicationControllerSpec, PodTemplateSpec, PodSpec
Expand Down
5 changes: 2 additions & 3 deletions tests/k8s/test_service.py
@@ -1,12 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8

import pytest
import mock

import pytest
from k8s.client import NotFound
from k8s.models.common import ObjectMeta
from k8s.models.service import Service, ServicePort, ServiceSpec
from k8s.client import NotFound
from util import assert_any_call_with_useful_error_message

SERVICE_NAMESPACE = 'my-namespace'
Expand Down

0 comments on commit 302e4b7

Please sign in to comment.