manila/manila/tests
Clinton Knight 65d1158526 Replace legacy StubOutForTesting class
The Manila test module uses a class called StubOutForTesting, which
is an awkward holdover from when the unit tests were using Mox.
Alex wrote a more elegant and capable mocker method,
manila.test.TestCase.mock_object, in the Cinder project which we
have now added to Manila. So to remove the duplicate functionality
and legacy code, all references to self.stubs.Set() in the Manila
tests should be replaced with self.mock_object() and any related
dead code should be removed.

Resolves-bug: #1415602
Change-Id: Ie5f203c0b2cb57ad00d9ec8db0529075b6fef261
2015-02-03 14:31:17 +00:00
..
api Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
compute Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
db Remove startswith for share_proto check 2015-01-30 08:27:44 +00:00
integrated Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
monkey_patch_example Remove vim headers 2014-10-06 15:00:27 +02:00
network Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
scheduler Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
share Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
windows Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Refactor test framework 2014-07-22 14:58:48 +03:00
conf_fixture.py Remove unused configs pybasedir and bindir 2014-12-22 10:03:46 +01:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_compute.py Implement additional driver mode for Generic driver 2015-02-02 13:57:19 +02:00
fake_driver.py Replace string driver modes with boolean value 2015-01-22 10:47:40 +00:00
fake_network.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_notifier.py Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
fake_service_instance.py Fix scheduled share creation with generic driver 2014-09-01 18:35:09 +03:00
fake_share.py Remove startswith for share_proto check 2015-01-30 08:27:44 +00:00
fake_utils.py Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
fake_volume.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_zfssa.py Adds Oracle ZFSSA driver for Manila 2014-12-18 10:48:54 -05:00
policy.json Improve share-network list API filtering 2014-10-30 09:56:18 +04:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_context.py Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
test_db.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_exception.py Change exception thrown by db method 2014-09-16 04:16:16 -04:00
test_hacking.py Add manila specific hacking checks 2014-10-21 09:34:59 +02:00
test_manager.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_policy.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_quota.py Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
test_service.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_test.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py Replace legacy StubOutForTesting class 2015-02-03 14:31:17 +00:00
test_wsgi.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
utils.py Add Neutron single network plugin 2015-01-27 18:54:31 +00:00