Skip to content

Commit b5c8b53

Browse files
committed
Fix lint errors
1 parent 7511c75 commit b5c8b53

9 files changed

Lines changed: 0 additions & 19 deletions

File tree

tests/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
from contextlib import contextmanager
55
from pathlib import Path
66

7-
import mock
8-
97
import pytest
108
from juju.client.jujudata import FileJujuData
119
from juju.controller import Controller

tests/integration/test_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from juju.client import client
22

3-
import pytest
4-
53
from .. import base
64

75

tests/integration/test_juju.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import pytest
2-
31
from juju.controller import Controller
42
from juju.juju import Juju
53
from .. import base

tests/unit/test_bundle.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import yaml
77

8-
import pytest
98
from juju.bundle import (
109
AddApplicationChange,
1110
AddCharmChange,
@@ -24,8 +23,6 @@
2423
from juju.client import client
2524
from toposort import CircularDependencyError
2625

27-
from .. import base
28-
2926

3027
class TestChangeSet(unittest.TestCase):
3128

tests/unit/test_connection.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
import pytest
1111

12-
from .. import base
13-
1412

1513
class WebsocketMock:
1614
def __init__(self, responses):

tests/unit/test_controller.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from juju.client import client
88
from juju.controller import Controller
99

10-
from .. import base
11-
1210

1311
class TestControllerConnect(unittest.IsolatedAsyncioTestCase):
1412
@mock.patch('juju.controller.Controller.update_endpoints')

tests/unit/test_machine.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import mock
2-
import pytest
32

43
from juju.model import Model
54
from juju.machine import Machine

tests/unit/test_model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
from juju import jasyncio
1313
from juju.errors import JujuConnectionError, JujuError
1414

15-
from .. import base
16-
1715

1816
def _make_delta(entity, type_, data=None):
1917
from juju.client.client import Delta

tests/unit/test_unit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import mock
2-
import pytest
32

43
from juju.client._definitions import FullStatus
54
from juju.model import Model
65
from juju.unit import Unit
76

8-
from .. import base
9-
107

118
@mock.patch('juju.client.client.ClientFacade')
129
async def test_unit_is_leader(mock_cf):

0 commit comments

Comments
 (0)