6
from tests.test_jujupy import fake_juju_client
7
from verify_landscape_bundle import(
8
assess_landscape_bundle,
12
class TestVerifyLandscapeBundle(tests.TestCase):
14
def test_assert_landscape_bundle(self):
15
client = fake_juju_client()
16
services = ['haproxy', 'landscape-server', 'postgresql',
18
with patch('verify_landscape_bundle.verify_services',
19
autospec=True) as vs_mock:
20
assess_landscape_bundle(client)
21
vs_mock.assert_called_once_with(client, services, scheme='https',
22
text='Landscape', haproxy_exposed=True)