nova/nova/tests/unit/scheduler
Balazs Gibizer c3804efd42 Refactor ResourceRequest constructor
This refactor changes ResourceRequest __init__ to make only an empty
request and moves the ResourceReqeust creation from a RequestSpec to a
static factory method. This is a preparation to introduce another
factory method later that will generate a ResourceRequest from a single
ResourceGroup instead of a full RequestSpec.

Blueprint: support-interface-attach-with-qos-ports

Change-Id: Idd58298a6b01775f962b9bf0a0835f762c8e0ed2
2021-01-18 15:40:42 +01:00
..
client Refactor ResourceRequest constructor 2021-01-18 15:40:42 +01:00
filters Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
weights Don't recompute weighers' minval/maxval attributes 2020-04-01 11:46:48 +02:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py Add support for translating CPU policy extra specs, image meta 2019-09-18 00:21:10 +01:00
ironic_fakes.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_filter_scheduler.py Fix mock for 'autospec' and 'new' together 2020-07-06 16:11:15 +00:00
test_filters.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_host_filters.py Modify left filters for RequestSpec 2015-12-11 12:27:20 +01:00
test_host_manager.py Fix the instance_uuid for test 2020-11-18 23:20:16 +11:00
test_manager.py trivial: Remove FakeScheduler 2020-02-18 15:13:45 +00:00
test_request_filter.py Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:16:07 +02:00
test_rpcapi.py Use long_rpc_timeout in select_destinations RPC call 2018-11-20 09:03:53 -05:00
test_scheduler_utils.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_utils.py Refactor ResourceRequest constructor 2021-01-18 15:40:42 +01:00