Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | pep8 | Scott Moser | 2015-02-11 | 1 | -1/+0 | |
| | ||||||
* | Add unittests for util.multi_log. | Daniel Watkins | 2015-02-11 | 1 | -0/+68 | |
| | ||||||
* | Fix import ordering in test_util.py. | Daniel Watkins | 2015-02-11 | 1 | -5/+5 | |
| | ||||||
* | Repair the Python 2.6 tests. | Barry Warsaw | 2015-01-26 | 1 | -8/+7 | |
| | ||||||
* | Trunk merged and ported. | Barry Warsaw | 2015-01-26 | 1 | -0/+59 | |
|\ | ||||||
| * | Use either syspath or dmidecode based on the availability. | Ben Howard | 2015-01-21 | 1 | -1/+29 | |
| | | ||||||
| * | Drop reliance on dmidecode executable. | Ben Howard | 2015-01-14 | 1 | -0/+28 | |
| | | ||||||
* | | Down to it. | Barry Warsaw | 2015-01-26 | 1 | -1/+1 | |
| | | ||||||
* | | More test repairs. | Barry Warsaw | 2015-01-26 | 1 | -3/+3 | |
| | | ||||||
* | | Conversion from mocker to mock completed. | Barry Warsaw | 2015-01-22 | 1 | -12/+19 | |
| | | ||||||
* | | More test ports from mocker to mock. | Barry Warsaw | 2015-01-22 | 1 | -1/+4 | |
| | | ||||||
* | | Port test__init__.py to unittest.mock. | Barry Warsaw | 2015-01-22 | 1 | -2/+1 | |
| | | ||||||
* | | Fix file modes to be Python 2/3 compatible. | Barry Warsaw | 2015-01-21 | 1 | -3/+3 | |
|/ | ||||||
* | further remove evidence of pylint. | Scott Moser | 2014-08-26 | 1 | -4/+2 | |
| | | | | | This just removes comments '# pylint:' things and other code remnents of pylint. | |||||
* | SeLinuxGuard: remove invalid check for sanity around restorecon, fix test | Scott Moser | 2014-07-24 | 1 | -10/+8 | |
| | | | | | | | | previous commit occurred because the selinux test was failing in a schroot where there was no /etc/hosts. Now, fix that test more correctly, and fix some bad assumptions in the SeLinuxGuard. | |||||
* | test: make selinux test skipped if selinux not available. | Scott Moser | 2014-07-24 | 1 | -5/+12 | |
| | | | | Also, in debian packaging depend on it (so it wont skip there). | |||||
* | more import statements | Dimitri John Ledkov | 2014-07-23 | 1 | -1/+1 | |
| | ||||||
* | fix permission changes | Scott Moser | 2013-10-02 | 1 | -0/+0 | |
| | ||||||
* | Reordered several imports in order for test suite to pass. | Eric Nordlund | 2013-10-01 | 1 | -1/+1 | |
| | ||||||
* | tests: fix pep8 issue | Scott Moser | 2013-07-24 | 1 | -45/+7 | |
| | | | | | Move long lines out of the test_util.py file and into tests/data. no pep8 or pylint errors now. | |||||
* | pylint fixes | Scott Moser | 2013-03-19 | 1 | -0/+2 | |
| | | | | | | | | | | a.) appease pylint on raring, as it doesn't like subprocess pylint: 0.26.0-1ubuntu1 This is mentioned in comments at http://www.logilab.org/ticket/46273 b.) tests/unittests/test_util.py: the mountinfo lines are longer than 80 chars. Just disable long lines complaints for this file. | |||||
* | util.parse_mount_info(): add unit tests. | Blair Zajac | 2013-03-10 | 1 | -0/+95 | |
| | ||||||
* | Ensure that at needed stages the local variables | Joshua Harlow | 2012-11-08 | 1 | -59/+0 | |
| | | | | | | | of the init class are reset so that when they are regenerated that they will use the updated data instead of using previous data (since they weren't reset). LP: #1076811 | |||||
* | add 'safeyaml' to cloudinit | Scott Moser | 2012-09-28 | 1 | -0/+39 | |
| | | | | | | | | | In 0.7.0 we started using yaml.safe_load to load data rather than yaml.load. Some producers (namely, ubuntu MAAS created) have produced cloud-config data in the past that included python unicode types. This creates a specialized safe_loader that is basically safe_load + support for python unicode. | |||||
* | fix pep8 complaints. | Scott Moser | 2012-08-22 | 1 | -2/+2 | |
| | | | | make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2). | |||||
* | test_util: add pylint ignore for FakeSelinux | Scott Moser | 2012-08-09 | 1 | -2/+2 | |
| | | | | | The methods here have to match the real Selinux signiture, so even though we dont use these variables. | |||||
* | Refactor the selinux guard to aid in mocking | harlowja | 2012-06-29 | 1 | -16/+30 | |
| | | | | 1. Adjust the test_util after this mocking to be cleaner | |||||
* | Fixup python selinux guards, only try to restore after we check if its ↵ | harlowja | 2012-06-21 | 1 | -7/+6 | |
| | | | | useful to restore, fix test to work with selinux enabled sysystems | |||||
* | Missed some other mkdtemp and rmtree calls no longer needed | Joshua Harlow | 2012-06-21 | 1 | -12/+2 | |
| | ||||||
* | Use the mocker built-in method for creating temporary dirs (which it will ↵ | Joshua Harlow | 2012-06-21 | 1 | -7/+2 | |
| | | | | cleanup) | |||||
* | This is now functional and all passing again | Joshua Harlow | 2012-06-21 | 1 | -42/+49 | |
| | ||||||
* | initial checkin of kernel commandline cloud-config url support | Scott Moser | 2012-04-04 | 1 | -1/+17 | |
| | ||||||
* | tests/unittests/test_util.py: fix pylint error | Scott Moser | 2012-03-06 | 1 | -1/+1 | |
| | ||||||
* | Lint fixes. | Mike Milner | 2012-01-17 | 1 | -1/+6 | |
| | ||||||
* | Added delete_dir_contents function to cloudinit.util. | Mike Milner | 2012-01-17 | 1 | -1/+71 | |
| | ||||||
* | Comment and doc cleanup. | Mike Milner | 2012-01-17 | 1 | -0/+13 | |
| | ||||||
* | Add unit tests for util.write_file. | Mike Milner | 2012-01-17 | 1 | -1/+84 | |
| | ||||||
* | Add some tests for get_cfg_option_list_or_str. | Mike Milner | 2012-01-12 | 1 | -1/+27 | |
| | ||||||
* | Add initial unit test framework. | Mike Milner | 2012-01-12 | 1 | -0/+53 | |
Add initial tests for mergedict. |