summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-11Add unittests for util.multi_log.Daniel Watkins
2015-02-11Add helpers for patching open and stdout/stderr.Daniel Watkins
2015-02-11Fix import ordering in test_util.py.Daniel Watkins
2015-02-11Enable passing arguments to nose via tox.Daniel Watkins
2015-02-11Fix reference to non-existent variable.Daniel Watkins
2015-02-10python3 support.Scott Moser
This gives us functional python3 support. There are likely still bugs, but instance boot on openstack is functional now. LP: #1247132
2015-02-10pep8Scott Moser
2015-02-10pep8Scott Moser
2015-02-10pep8Scott Moser
2015-02-11fix random_seed moduleScott Moser
2015-02-10use encode_textScott Moser
2015-02-10fix for cloud-init bin use encodeScott Moser
2015-02-10skip cheetah dependent testScott Moser
2015-02-10make bddeb work with python3 or python2Scott Moser
painful, and not perfect, but at this point the output builds on a vivid system python2 (bddeb --python2) or python3. * remove use of cheetah by bddeb in favor of builtin renderer * add '--python2' flag to bddeb and knowledge of python 2 and python3 package names. * read-dependencies can now read test-requirements also. * differenciate from build-requirements and runtime requirements.
2015-02-10fix parse_qs usageScott Moser
2015-02-10fix use of 'letters' and translateScott Moser
2015-02-09fix copyright messageScott Moser
2015-01-27Remove debugging turd.Barry Warsaw
2015-01-27Respond to review:Barry Warsaw
- Refactor "fully" decoding the payload of a text/* part. In Python 3, decode=True only means to decode according to Content-Transfer-Encoding, not according to any charset in the Content-Type header. So do that.
2015-01-27Respond to review:Barry Warsaw
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code.
2015-01-27Respond to review:Barry Warsaw
- Just use util.load_file() instead of yet another way to open and read the file.
2015-01-27Remove a comment turd.Barry Warsaw
2015-01-27Remove some unused code.Barry Warsaw
2015-01-27Respond to review:Barry Warsaw
- Remove str() wrappers to second argument to write_files() where it is no longer necessary. Also: Fixed a couple of other octal literals which clearly weren't being tested.
2015-01-26super() works in all of Python 2.6, 2.7, and 3.4.Barry Warsaw
2015-01-26Repair the Python 2.6 tests.Barry Warsaw
2015-01-26Trunk merged and ported.Barry Warsaw
2015-01-26Port the MAAS code to oauthlib.Barry Warsaw
2015-01-26Python 3 tests pass, except for skips.Barry Warsaw
2015-01-26Down to it.Barry Warsaw
2015-01-26Another handling of b64decode.Barry Warsaw
Also, restore Python 2 compatibility.
2015-01-26* More str/bytes fixes.Barry Warsaw
* Temporarily skip the MAAS tests in py3 since they need to be ported to oauthlib.
2015-01-26More Python 3 test fixes.Barry Warsaw
2015-01-26Avoid a nose bug when running under the test suite and no exception is inBarry Warsaw
flight.
2015-01-26Fix a few string/bytes problems with Python 3.Barry Warsaw
2015-01-26More test repairs.Barry Warsaw
2015-01-23* Fix the filter() imports.Barry Warsaw
* In Py3, pass universal_newlines to subprocess.Popen()
2015-01-22Make parameter list for get_hostname method consistentMarco Morais
The sources.DataSource class has method defined as: def get_hostname(self, fqdn=False, resolve_ip=False) Make the parameter list for this method in DataSourceDigitalOcean and DataSourceGCE consistent with superclass sources.DataSource.
2015-01-22Low hanging Python 3 fruit.Barry Warsaw
2015-01-22Conversion from mocker to mock completed.Barry Warsaw
2015-01-22More conversions from mocker to mock.Barry Warsaw
2015-01-22More conversions from mocker to mock.Barry Warsaw
2015-01-22More test ports from mocker to mock.Barry Warsaw
2015-01-22Clean up.Barry Warsaw
2015-01-22Convert helpers.py and test_data.py from mocker to mock.Barry Warsaw
2015-01-22Use .addCleanup() instead of a .tearDown() where appropriate, although weBarry Warsaw
might have to rewrite this for Python 2.6. Disable Cepko tests (test_cs_util.py) since they are essentially worthless. Convert test_azure to unittest.mock.
2015-01-22remove dependency on dmidecode on linuxScott Moser
on linux we can read dmi information from /sys rather than using dmidecode binary, and thus removing a dependency.
2015-01-22merge from trunkScott Moser
2015-01-22Port test__init__.py to unittest.mock.Barry Warsaw
2015-01-21Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.