trio2o/tricircle/tests
zhiyuan_cai 59ad16c78b Register core_plugin for all tests in test_plugin
1. What is the problem
In test_plugin module, we define a stub class FakePlugin to
bypass real database access for unit tests. In some previous
test cases, FakePlugin object is directly created and then
we test its function, but after some changes in Neutron, we
also need to register the class path of FakePlugin to an
configuration option called core_plugin, otherwise some of
test cases will fail with "core_plugin not configured" error.

2. What is the solution to the problem
Register core_plugin for each test cases.

3. What the features need to be implemented to the Tricircle
   to realize the solution
Register core_plugin in setUp function then every test cases
can use this option.

Change-Id: Ibc2d81585ec8e67c3f56f864c4cbc5d2f0a0efa9
2016-06-16 14:56:43 +08:00
..
functional Merge "Exception catching and logging" 2016-05-17 00:48:00 +00:00
unit Register core_plugin for all tests in test_plugin 2016-06-16 14:56:43 +08:00
__init__.py cascade_service: DB infrastructure 2015-08-11 10:57:27 +00:00
base.py Use PortOpt and IpOpt 2016-05-13 06:09:20 +00:00