Skip to content

Commit 7dfcfd0

Browse files
committed
more import refactoring
1 parent 2c4b8cd commit 7dfcfd0

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

tests/integration/test_model.py

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2023 Canonical Ltd.
22
# Licensed under the Apache V2, see LICENCE file for details.
33

4+
45
import json
56
import os
67
import random
@@ -10,31 +11,18 @@
1011

1112
import mock
1213
import paramiko
14+
1315
import pylxd
1416
import pytest
15-
1617
from juju import jasyncio, tag, url
17-
from juju.application import Application
1818
from juju.client import client
1919
from juju.client._definitions import FullStatus
20-
from juju.errors import (
21-
JujuConnectionError,
22-
JujuError,
23-
JujuModelError,
24-
JujuUnitError
25-
)
20+
from juju.errors import JujuError, JujuModelError, JujuUnitError, JujuConnectionError
2621
from juju.model import Model, ModelObserver
27-
from juju.utils import (
28-
base_channel_to_series,
29-
block_until,
30-
run_with_interrupt,
31-
wait_for_bundle
32-
)
22+
from juju.utils import block_until, run_with_interrupt, wait_for_bundle, base_channel_to_series
3323

3424
from .. import base
35-
from ..utils import (GB, INTEGRATION_TEST_DIR, MB, OVERLAYS_DIR, SSH_KEY,
36-
TESTS_DIR)
37-
25+
from ..utils import MB, GB, TESTS_DIR, OVERLAYS_DIR, SSH_KEY, INTEGRATION_TEST_DIR
3826

3927
@base.bootstrapped
4028
async def test_model_name():

0 commit comments

Comments
 (0)