~rackspace-titan/nova/libvirt-no-globals

Viewing all changes in revision 1111.

  • Committer: Brian Lamar
  • Date: 2011-05-25 20:26:01 UTC
  • Revision ID: brian.lamar@rackspace.com-20110525202601-73vcru0bwfowf5cj
Added the ability to "skip" tests, as provided by unittest2 (which back-ports python2.7 functionality and can be removed later once python2.7+ is required). The ability to skip tests was needed because the current method of skipping displayed "OK" when skipping tests. This will make things much more evident to the user when tests are being skipped. Along with this change is `utils.optional_import` which allows for removal of all "globals" being used in libvirt code.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: