Container Infrastructure Management Service for OpenStack
Go to file
Hua Wang 37af2d70f9 Replace tearDown with addCleanup in magnum unit tests
Infra team has indicated that tearDown methods should be replaced
with addCleanup in unit tests. The reason is that all addCleanup
methods will be executed even if one of them fails, while a failure
in tearDown method can leave the rest of the tearDown un-executed,
which can leave stale state laying around.

Moreover, tearDown methods won't run if an exception raises in setUp
method, while addCleanup will run in such case.

So, we should replace tearDown with addCleanup methods.

Change-Id: I3d16954ef7e2fd229f779d193f24ac01d1d2f641
Closes-Bug: #1476976
2015-07-20 21:47:10 +08:00
contrib/templates/example Fix the wrong platform usage 2015-07-22 01:25:24 +00:00
devstack Fix permission error on running periodic task 2015-07-23 21:55:09 -04:00
doc/source Merge "Update manual guide to not harcode br-ex" 2015-07-27 00:09:31 +00:00
etc/magnum Merge "policy check for container" 2015-07-28 00:50:26 +00:00
magnum Replace tearDown with addCleanup in magnum unit tests 2015-07-20 21:47:10 +08:00
specs Web Interface for Magnum in Horizon 2015-06-18 10:13:01 +01:00
tools Convert to new DevStack plugin model for functional testing 2015-04-02 21:14:20 -04:00
.coveragerc Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
.gitignore Add .DS_Store to .gitignore 2015-07-10 10:53:19 -05:00
.gitreview Update .gitreview for project rename 2015-03-28 00:20:40 +00:00
.mailmap Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
.testr.conf Make room for functional tests 2015-04-02 12:25:43 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:45 +00:00
Dockerfile Fix the docker build image issue 2015-05-18 11:11:25 +08:00
HACKING.rst Eliminate mutable default arguments 2015-07-10 13:33:49 +00:00
LICENSE Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
MANIFEST.in Copy Ironic's database model codebase 2014-12-02 15:04:31 -07:00
README.rst Updated Magnum documentation 2015-07-14 11:38:06 +00:00
babel.cfg Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
bandit.yaml Add Bandit security lint checking via tox 2015-04-08 10:41:42 -07:00
functional_creds.conf.sample Make functional test work with new tox env 2015-05-19 11:07:34 +08:00
openstack-common.conf port to oslo.service 2015-06-28 14:29:00 +08:00
requirements.txt Updated from global requirements 2015-07-24 18:38:14 +00:00
setup.cfg Add template definition of Mesos bay 2015-07-15 10:56:13 -04:00
setup.py Updated from global requirements 2015-07-15 07:34:25 +00:00
test-requirements-bandit.txt Update bandit for new usage requirement 2015-04-10 11:19:17 +08:00
test-requirements.txt Updated from global requirements 2015-07-22 04:56:11 +00:00
tox.ini Remove H302, H803, H904 2015-07-16 09:14:21 +00:00

README.rst

Magnum

Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.

For more information, please refer to the following resources: