# coding: utf-8

import pytest as _pytest

import ipvs as _ipvs

pytestmark = _pytest.mark.usefixtures('ipvs')


def test_ipvs_get_dests(service, dest):
    result = _ipvs.add_service(service)
    assert 0 == _ipvs.add_dest(service, dest)
    result = _ipvs.get_dests(service)
    print result

2ff242c7bb36ce8b874ead246dfdd75a5df90a42
# coding: utf-8

import pytest as _pytest

import ipvs as _ipvs

pytestmark = _pytest.mark.usefixtures('ipvs')


def test_ipvs_get_dests(service, dest):
    result = _ipvs.add_service(service)
    assert 0 == _ipvs.add_dest(service, dest)
    result = _ipvs.get_dests(service)
    print result
