fuel-library/fuel_test/cobbler/test_swift.py
2013-03-14 16:28:14 +04:00

17 lines
702 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 2>&1')
self.do(self.nodes().storages, 'puppet agent --test 2>&1')
self.do(self.nodes().storages, 'puppet agent --test 2>&1')
self.validate(self.nodes().proxies[0], 'puppet agent --test 2>&1')
self.validate(self.nodes().storages, 'puppet agent --test 2>&1')
if __name__ == '__main__':
unittest.main()