summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-07-02Add a sample yaml config to be used for testing.Joshua Harlow
2012-06-29Refactor the selinux guard to aid in mockingharlowja
1. Adjust the test_util after this mocking to be cleaner
2012-06-29Add a test that ensures the upstart handler does not output files when in ↵Joshua Harlow
non-per-instance mode.
2012-06-281. Update with smosers code review and comments (and put some of those ↵Joshua Harlow
comments into the files) 2. Rename consume() to consume_userdata() as it helps in figuring out what this does. 3. Fixup the tests due to #2
2012-06-22Adjust test for turning off capturingJoshua Harlow
2012-06-21Fixup python selinux guards, only try to restore after we check if its ↵harlowja
useful to restore, fix test to work with selinux enabled sysystems
2012-06-21Get this test working again.Joshua Harlow
2012-06-21Get both of these tests back in working shape.Joshua Harlow
2012-06-21Missed some other mkdtemp and rmtree calls no longer neededJoshua Harlow
2012-06-21Use the mocker built-in method for creating temporary dirs (which it will ↵Joshua Harlow
cleanup)
2012-06-211. Got this test working again using the new code.Joshua Harlow
2. Adjusted so that instead of capturing all logging, only a certain level is captured (now that we have lots more logging)
2012-06-21This is now functional and all passing againJoshua Harlow
2012-04-04initial checkin of kernel commandline cloud-config url supportScott Moser
2012-03-16add supprot for reading public-keys from DataSourcMAASScott Moser
2012-03-16rename DataSourceMaaS to DataSourceMAAS, generally use MAAS everywhereScott Moser
instead of MaaS or Maas, use MAAS consistently. The only non 'MAAS' left are all lower case.
2012-03-16fix pylint warnings in test_userdataScott Moser
2012-03-12Warn in user-data processing on non-multipart, non-handled dataScott Moser
If user-data is supplied that is not multipart, and is unhandled, then log a warning. A warning by default will get to the console, so the user can see it even if they cannot get into the instance. If they don't see it there, it would still be available in the cloud-init log.
2012-03-12Restrict warning to userdata without MIME wrapping only while still ignoring ↵Martin Packman
most types
2012-03-09If the user has chosen to remove default ca-certs, prevent package upgrade Scott Moser
of ca-certificates from adding new trusted certs.
2012-03-08pep8 and pylintScott Moser
2012-03-08add a test for read_maas_seed_urlScott Moser
2012-03-08Add tests for writing of userdata parts to the filesystemMartin Packman
2012-03-08fix tests for 'hostname' to 'local-hostname' and user-data not requiredScott Moser
2012-03-08Switch to using util.subp.Mike Milner
2012-03-07fix pylint and pep8 warningsScott Moser
2012-03-06file for user-data should be 'user-data' (including the '-')Scott Moser
2012-03-06assert that userdata is not returned as part of metadataScott Moser
2012-03-06Add initial DataSourceMaaS.Scott Moser
Tests at this point seem to indicate that seed-dir would work.
2012-03-06tests/unittests/test_util.py: fix pylint errorScott Moser
2012-02-24If we don't trust the default certs, don't add new certs fromMike Milner
ca-certificates package upgrades.
2012-02-21Cleanups.Mike Milner
2012-02-21Lint fixes.Mike Milner
2012-02-21Add test and fix for catching exceptions.Mike Milner
2012-02-21Add tests for various frequencies.Mike Milner
2012-02-21Added tests for adding handlers.Mike Milner
2012-01-17add support for add/remove CA Certificates via cloud-config (LP: #915232)Scott Moser
LP: #915232
2012-01-17Lint fixes.Mike Milner
2012-01-17Use delete_dir_contents from cloudinit.util.Mike Milner
2012-01-17Added delete_dir_contents function to cloudinit.util.Mike Milner
2012-01-17Convert code to use the write_file function from cloudinit.util.Mike Milner
2012-01-17Comment and doc cleanup.Mike Milner
2012-01-17Add unit tests for util.write_file.Mike Milner
2012-01-15Added function for deleting default trusted CA certs.Mike Milner
2012-01-14Handle config flag for removing default trusted CAs.Mike Milner
2012-01-14Factor out writing of certificates.Mike Milner
2012-01-12Add ability to rebuild CA certificate file.Mike Milner
2012-01-12Add tests for ca-certs handler.Mike Milner
2012-01-12Add some tests for get_cfg_option_list_or_str.Mike Milner
2012-01-12Add initial unit test framework.Mike Milner
Add initial tests for mergedict.