We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a77938 commit 191df9dCopy full SHA for 191df9d
1 file changed
tests/unit/test_model.py
@@ -104,25 +104,6 @@ def test_apply_delta(self):
104
self.assertTrue(prev)
105
106
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
126
class TestContextManager(asynctest.TestCase):
127
@asynctest.patch('juju.model.Model.disconnect')
128
@asynctest.patch('juju.model.Model.connect')
0 commit comments