Tidy lint
This commit is contained in:
@@ -208,7 +208,7 @@ class GlanceRelationTests(CharmTestCase):
|
||||
)
|
||||
|
||||
def _shared_db_test(self, configs, unit_name,
|
||||
allowed_units = 'glance/0 glance/3'):
|
||||
allowed_units='glance/0 glance/3'):
|
||||
self.relation_get.return_value = allowed_units
|
||||
self.local_unit.return_value = unit_name
|
||||
configs.complete_contexts = MagicMock()
|
||||
@@ -249,7 +249,6 @@ class GlanceRelationTests(CharmTestCase):
|
||||
configs.write.call_args_list)
|
||||
self.assertFalse(self.migrate_database.called)
|
||||
|
||||
|
||||
@patch.object(relations, 'CONFIGS')
|
||||
def test_postgresql_db_changed_no_essex(self, configs):
|
||||
self._postgresql_db_test(configs)
|
||||
|
||||
Reference in New Issue
Block a user