fuel-library/fuel_test/cobbler/test_apply_noop.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

12 lines
427 B
Python

import unittest
from fuel_test.cobbler.cobbler_test_case import CobblerTestCase
class NoopTestCase(CobblerTestCase):
def test_apply_all_modules_with_noop(self):
result = self.remote().execute(
"for i in `find /etc/puppet/modules/ | grep tests/.*pp`; do puppet apply --modulepath=/etc/puppet/modules/ --noop $i ; done")
self.assertResult(result)
if __name__ == '__main__':
unittest.main()