fuel-library/fuel_test/cobbler/test_swift.py
vic ca05da215f Generate some manifests at test start
Use async command execution

Fix networks

Delete unused helpers

Don't manage networks in tests

Prepare class

Tar for upload recipies

Renaming tests

Template class

Hiera.yaml for master

Don't stop selinux in tests

Ignore package managers warnings

Add master role

Manifest class

Delete obsolete tests

Settings for interfaces with order

Using network pools

Cleanup settings

Require new devops
2013-02-04 06:25:55 +04:00

17 lines
677 B
Python

import unittest
from fuel_test.cobbler.cobbler_test_case import CobblerTestCase
from fuel_test.manifest import Manifest
class SwiftCase(CobblerTestCase):
def test_swift(self):
Manifest().write_swift_manifest(remote=self.remote(),
controllers=self.nodes().controllers)
self.validate(self.nodes().controllers[0], 'puppet agent --test')
self.do(self.nodes().storages, 'puppet agent --test')
self.do(self.nodes().storages, 'puppet agent --test')
self.validate(self.nodes().proxies[0], 'puppet agent --test')
self.validate(self.nodes().storages, 'puppet agent --test')
if __name__ == '__main__':
unittest.main()