summaryrefslogtreecommitdiff
path: root/tests/unittests/test__init__.py
AgeCommit message (Collapse)Author
2015-03-02get_cmdline_url: fix in python3 when callingScott Moser
get_cmdline_url was passing a string to response.contents.startswith() where response.contents is now bytes. this changes it to convert input to text, and also to default to text.
2015-01-26Repair the Python 2.6 tests.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-22Port test__init__.py to unittest.mock.Barry Warsaw
2015-01-21Fix file modes to be Python 2/3 compatible.Barry Warsaw
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-04-01pyflakes cleanupsScott Moser
2014-01-24read_file_or_url: raise UrlError with 404 on ENOENTScott Moser
This makes it easier to call read_file_or_url and handle file or url errors. Now read_file_or_url will raise a UrlError in either case on errors.
2013-03-19merge from trunk at revno 799Scott Moser
2013-03-07more pep8/pylint. all clean nowScott Moser
2013-03-07fix pep8 and pylintScott Moser
2013-03-05Add in a bunch of changes and tests.Joshua Harlow
2013-02-23Get tests working and further adjustments.harlowja
2012-08-22fix pep8 complaints.Scott Moser
make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2).
2012-08-09stright forward pylint cleanups to tests/ and tools/Scott Moser
2012-06-21Get both of these tests back in working shape.Joshua Harlow
2012-04-04initial checkin of kernel commandline cloud-config url supportScott Moser
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