ca05da215f
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
17 lines
677 B
Python
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()
|