~ubuntu-branches/ubuntu/trusty/heat/trusty-security

« back to all changes in this revision

Viewing changes to heat/tests/test_plugin_loader.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Yolanda Robla, Chuck Short
  • Date: 2013-07-22 16:22:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130722162229-zzvfu40id94ii0hc
Tags: 2013.2~b2-0ubuntu1
[ Yolanda Robla ]
* debian/tests: added autopkg tests

[ Chuck Short ]
* New upstream release
* debian/control:
  - Add python-pbr to build-depends.
  - Add python-d2to to build-depends.
  - Dropped python-argparse.
  - Add python-six to build-depends.
  - Dropped python-sendfile.
  - Dropped python-nose.
  - Added testrepository.
  - Added python-testtools.
* debian/rules: Run testrepository instead of nosetets.
* debian/patches/removes-lxml-version-limitation-from-pip-requires.patch: Dropped
  no longer needed.
* debian/patches/fix-package-version-detection-when-building-doc.patch: Dropped
  no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
import pkgutil
17
17
import sys
18
 
import unittest
19
 
from nose.plugins.attrib import attr
 
18
import testtools
20
19
 
21
20
import heat.engine
22
21
from heat.common import plugin_loader
23
22
 
24
23
 
25
 
@attr(tag=['unit', 'plugin_loader'])
26
 
@attr(speed='fast')
27
 
class PluginLoaderTest(unittest.TestCase):
 
24
class PluginLoaderTest(testtools.TestCase):
28
25
    def test_module_name(self):
29
26
        self.assertEqual(plugin_loader._module_name('foo.bar', 'blarg.wibble'),
30
27
                         'foo.bar.blarg.wibble')