nova/nova
jichenjc c79fec1967 Use stub_out and mock to remove mox: part 2
This change replaces the use of stubs in a few files
with stub_out, which was introduced in test.py.
Also, remove mox usage in some of the files.

unit/test_wsgi.py
unit/test_versions.py
unit/test_utils.py

Part of bp:remove-mox

Change-Id: I0ba80882e745fdf6a208db2455df0a1b458ce836
2015-12-19 19:43:46 +08:00
..
CA
api Merge "Wrong spelling of defined" 2016-01-06 09:54:58 +00:00
cells Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
cert Update rpc version aliases for liberty 2015-10-01 20:33:43 -04:00
cloudpipe Optimize "open" method with context manager 2015-12-03 10:12:52 +08:00
cmd Merge "Change logging level for 'oslo_db'" 2016-01-05 23:55:41 +00:00
compute Merge "Python 3 deprecated the logger.warn method in favor of warning" 2016-01-06 04:09:23 +00:00
conductor Modify conductor to use RequestSpec object 2015-12-31 09:36:58 +00:00
conf Improve 'virt' conf options documentation 2016-01-05 09:39:48 +00:00
console Python 3 deprecated the logger.warn method in favor of warning 2015-12-30 14:26:45 +00:00
consoleauth Add SIGHUP handlers for compute rpcapi to console and conductor 2015-12-10 08:48:05 -08:00
db Correct the code description 2016-01-06 22:28:52 +08:00
hacking add hacking check for config options location 2015-11-26 19:24:19 +01:00
image Merge "convert GlanceClientWrapper to endpoint" 2016-01-05 20:03:41 +00:00
ipv6
keymgr
locale Imported Translations from Zanata 2015-12-01 06:33:10 +00:00
mks Add MKS console support 2015-07-25 15:01:44 +03:00
network Merge "remove unused update_dhcp_hostfile_with_text method" 2016-01-06 06:24:29 +00:00
objects Add 'CPUThreadAllocationPolicy' enum field 2016-01-06 09:09:45 +00:00
objectstore Fixes dict keys and items references for Python 3 2015-12-07 12:19:59 +02:00
openstack use graduated oslo.policy 2015-11-26 13:04:52 +08:00
pci Merge "pci: minor fix to exception message format" 2016-01-05 18:20:34 +00:00
rdp
scheduler Merge "Modify Scheduler RPC API to use RequestSpec obj" 2016-01-06 16:05:52 +00:00
servicegroup Optimize "open" method with context manager 2015-12-03 10:12:52 +08:00
spice
tests Use stub_out and mock to remove mox: part 2 2015-12-19 19:43:46 +08:00
virt Merge "VMware: add in folder support on VC" 2016-01-06 16:06:55 +00:00
vnc Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00
volume Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
wsgi Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py
availability_zones.py Invalidate AZ cache when the instance AZ information is different 2015-09-09 17:14:35 +02:00
baserpc.py
block_device.py snapshot: Add device_name to the snapshot bdms 2015-07-02 13:45:36 +01:00
config.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
context.py Replace copy.deepcopy of RequestContext with copy.copy 2015-12-28 18:37:15 +00:00
crypto.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
debugger.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
exception.py pci: minor fix to exception message format 2015-12-30 12:24:26 -08:00
filters.py Prepare filters for using RequestSpec object 2015-11-16 22:41:02 +01:00
hooks.py
i18n.py
loadables.py
manager.py Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
netconf.py
notifications.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
opts.py Merge "Add "vnc" option group for sample nova.conf file" 2015-12-10 01:06:08 +00:00
paths.py
policy.py use graduated oslo.policy 2015-11-26 13:04:52 +08:00
quota.py
rpc.py
safe_utils.py Replace safe_utils.getcallargs with inspect.getcallargs 2015-12-11 10:15:37 -05:00
service.py Nuke EC2 API from api-paste and remove wsgi support 2015-12-21 18:48:15 -05:00
signature_utils.py signature_utils: move to explicit image metadata 2016-01-04 09:38:21 -05:00
test.py introduce ``stub_out`` method to base test class 2016-01-05 11:30:05 -05:00
utils.py Merge "[Py34] Enable api.openstack.test_wsgi unit test" 2015-12-18 06:39:15 +00:00
version.py
weights.py
wsgi.py Merge "Add hacking check for eventlet.spawn()" 2015-10-08 03:43:00 +00:00