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
12 lines
427 B
Python
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()
|