Skip to content

Commit 191df9d

Browse files
committed
Remove get_series unit test -- as get_series doesnt exist anymore
1 parent 5a77938 commit 191df9d

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

tests/unit/test_model.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,25 +104,6 @@ def test_apply_delta(self):
104104
self.assertTrue(prev)
105105

106106

107-
@pytest.mark.asyncio
108-
def test_get_series():
109-
from juju.model import Model
110-
model = Model()
111-
entity = {
112-
'Meta': {
113-
'supported-series': {
114-
'SupportedSeries': [
115-
'xenial',
116-
'trusty',
117-
],
118-
},
119-
},
120-
}
121-
assert model._get_series('xenial/ubuntu', entity) == 'xenial'
122-
assert model._get_series('ubuntu', entity) == 'xenial'
123-
assert model._get_series('ch:ubuntu', entity) == 'xenial'
124-
125-
126107
class TestContextManager(asynctest.TestCase):
127108
@asynctest.patch('juju.model.Model.disconnect')
128109
@asynctest.patch('juju.model.Model.connect')

0 commit comments

Comments
 (0)