cinder/cinder/tests/unit/scheduler
Victor Stinner 8e63cccb65 Replace xrange() with six.moves.range()
Add "from six.moves import range" to replace the builtin range()
function with six.moves.range() to always create an iterator, instead of
creating a temporary list.

Replace "xrange" with "range".

Don't add the import for ranges of 1024 items or less.

Blueprint cinder-python3
Change-Id: If618b4e810e444f7eb6592bb2398805e9d14d548
2015-06-16 10:46:40 +02:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_allocated_capacity_weigher.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_capacity_weigher.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_chance_weigher.py Replace xrange() with six.moves.range() 2015-06-16 10:46:40 +02:00
test_filter_scheduler.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_goodness_weigher.py Add missing unit test for goodness weigher 2015-06-02 18:59:02 +05:30
test_host_filters.py DriverFilter: don't check volume_backend_name 2015-06-04 23:27:46 +00:00
test_host_manager.py Replace xrange() with six.moves.range() 2015-06-16 10:46:40 +02:00
test_rpcapi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_scheduler.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00
test_scheduler_options.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_number_weigher.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00