~ubuntu-branches/ubuntu/utopic/maas/utopic-security

« back to all changes in this revision

Viewing changes to src/provisioningserver/utils/tests/test_registry.py

  • Committer: Package Import Robot
  • Author(s): Julian Edwards, Julian Edwards, Andres Rodriguez
  • Date: 2014-08-21 18:38:27 UTC
  • mfrom: (1.2.34)
  • Revision ID: package-import@ubuntu.com-20140821183827-9xyb5u2o4l8g3zxj
Tags: 1.6.1+bzr2550-0ubuntu1
* New upstream bugfix release:
  - Auto-link node MACs to Networks (LP: #1341619)

[ Julian Edwards ]
* debian/maas-region-controller.postinst: Don't restart RabbitMQ on
  upgrades, just ensure it's running.  Should prevent a race with the
  cluster celery restarting.
* debian/rules: Pull upstream branch from the right place.

[ Andres Rodriguez ]
* debian/maas-region-controller.postinst: Ensure cluster celery is
  started if it also runs on the region.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
    def test_is_singleton_over_multiple_imports(self):
44
44
        Registry.register_item("resource1", sentinel.resource1)
45
 
        from provisioningserver.driver import Registry as Registry2
 
45
        from provisioningserver.drivers import Registry as Registry2
46
46
        Registry2.register_item("resource2", sentinel.resource2)
47
47
        self.assertItemsEqual(
48
48
            [("resource1", sentinel.resource1),