neutron/neutron/tests/unit
venkata anil 334dae0190 item allocator should return same value for same key
When ItemAllocator.allocate called with same key again,
it is returning different value.
To fix this, we check if a value for key already exists in
self.allocations, and return that value if already exists.

Closes-bug: #1533216
Change-Id: I1f6191b07d33a1f542de18a942cefaf7ecb6c143
2016-01-28 08:40:45 +00:00
..
agent item allocator should return same value for same key 2016-01-28 08:40:45 +00:00
api Fix module's import order 2016-01-22 06:38:42 -08:00
callbacks Provide kwargs for callback abort 2016-01-12 21:48:05 +00:00
cmd Make neutron pecan server an option instead of binary 2016-01-14 18:25:13 -08:00
common Fix module's import order 2016-01-22 06:38:42 -08:00
core_extensions QoS core extension: fixed dict extension when QoS policy is unset 2015-08-08 15:44:27 +02:00
db Merge "DVR: Add action specific functions for arp_entry_update" 2016-01-27 07:34:24 +00:00
debug tests: stop validating neutronclient in neutron-debug tests 2016-01-14 06:46:45 +00:00
extensions Elevate context for router lookups during floating IP association. 2016-01-26 20:17:38 +00:00
hacking Unify using assertIsInstance 2016-01-15 00:06:03 +08:00
ipam Fix module's import order 2016-01-22 06:38:42 -08:00
notifiers Fix module's import order 2016-01-22 06:38:42 -08:00
objects Move helper methods to create resorces to test_base 2016-01-21 19:23:14 +00:00
plugins Merge "sriov-mech: Introduce a new VIF type for PF vnic type" 2016-01-27 18:46:26 +00:00
quota Fix module's import order 2016-01-22 06:38:42 -08:00
scheduler Merge "DVR: Add action specific functions for arp_entry_update" 2016-01-27 07:34:24 +00:00
services Fix module's import order 2016-01-22 06:38:42 -08:00
tests Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Fix module's import order 2016-01-22 06:38:42 -08:00
dummy_plugin.py Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
extension_stubs.py Merge "Simplify extension processing" 2016-01-10 11:19:24 +00:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_context.py Support Unicode request_id on Python 3 2015-11-27 16:21:16 +01:00
test_manager.py Pecan controller loads service plugins 2016-01-12 12:28:54 -08:00
test_policy.py Use DEVICE_OWNER_* for 'network:*' constants 2015-11-16 20:45:36 -08:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Make sure we return unicode strings for process output 2015-11-20 16:49:51 +01:00
testlib_api.py Improve fixture usage. 2015-07-01 14:53:48 +12:00