Add test wo ha_provider

This commit is contained in:
vic 2013-03-26 02:05:10 +04:00
parent e97cfc9d7c
commit d098bc6a0a

View File

@ -63,6 +63,17 @@ class CompactTestCase(CobblerTestCase):
if CREATE_SNAPSHOTS: if CREATE_SNAPSHOTS:
self.environment().snapshot('compact_woloopback', force=True) self.environment().snapshot('compact_woloopback', force=True)
def test_deploy_compact_wo_ha_provider(self):
Manifest().write_openstack_manifest(
remote=self.remote(),
template=Template.compact(), ci=self.ci(),
controllers=self.nodes().controllers,
quantums=self.nodes().quantums,
quantum=False, use_syslog=False, ha_provider=False)
self.deploy_compact(quantum_node=False)
if CREATE_SNAPSHOTS:
self.environment().snapshot('compact_wo_ha_provider', force=True)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()