Merge "Drop unnecessary mocking of get_minimum_version_all_cells"

This commit is contained in:
Zuul
2024-02-16 18:33:55 +00:00
committed by Gerrit Code Review

View File

@@ -6866,8 +6866,6 @@ class ServersControllerCreateTestV237(test.NoDBTestCase):
when networks is 'none' which means no network will be allocated.
"""
with test.nested(
mock.patch('nova.objects.service.get_minimum_version_all_cells',
return_value=14),
mock.patch.object(nova.compute.flavors, 'get_flavor_by_flavor_id',
return_value=objects.Flavor()),
mock.patch.object(