Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-19 | Fix up tests and flake8 warnings | Joshua Harlow | |
2016-05-11 | Fix py26 for rhel (and older versions of python) | Joshua Harlow | |
2015-07-21 | tests: fix TestHandlerHandlePart tests | Scott Moser | |
these tests were previously passing, but doing so erroneously. I believe that an update to mock caused them to start failing. I've updated the tests now. The simple change is replacing 'assert_called_with_once' with 'assert_called_once_with'. The second set of changes is seemingly a correction of the following tests expectations: test_normal_version_2 : was not expecting to get frequency passed into handle_part, but should have been. test_no_handle_when_modfreq_once: was expecting to have handle_part called even though the test implies otherwise. test_exception_is_caught: this test just looked broken. Now, we're testing that the part handler is called and that no exception is raised past handle_part | |||
2015-03-02 | get_cmdline_url: fix in python3 when calling | Scott 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-26 | Repair the Python 2.6 tests. | Barry Warsaw | |
2015-01-22 | Use .addCleanup() instead of a .tearDown() where appropriate, although we | Barry 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-22 | Port test__init__.py to unittest.mock. | Barry Warsaw | |
2015-01-21 | Fix file modes to be Python 2/3 compatible. | Barry Warsaw | |
2014-08-26 | further remove evidence of pylint. | Scott Moser | |
This just removes comments '# pylint:' things and other code remnents of pylint. | |||
2014-04-01 | pyflakes cleanups | Scott Moser | |
2014-01-24 | read_file_or_url: raise UrlError with 404 on ENOENT | Scott 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-19 | merge from trunk at revno 799 | Scott Moser | |
2013-03-07 | more pep8/pylint. all clean now | Scott Moser | |
2013-03-07 | fix pep8 and pylint | Scott Moser | |
2013-03-05 | Add in a bunch of changes and tests. | Joshua Harlow | |
2013-02-23 | Get tests working and further adjustments. | harlowja | |
2012-08-22 | fix pep8 complaints. | Scott Moser | |
make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2). | |||
2012-08-09 | stright forward pylint cleanups to tests/ and tools/ | Scott Moser | |
2012-06-21 | Get both of these tests back in working shape. | Joshua Harlow | |
2012-04-04 | initial checkin of kernel commandline cloud-config url support | Scott Moser | |
2012-02-21 | Cleanups. | Mike Milner | |
2012-02-21 | Lint fixes. | Mike Milner | |
2012-02-21 | Add test and fix for catching exceptions. | Mike Milner | |
2012-02-21 | Add tests for various frequencies. | Mike Milner | |
2012-02-21 | Added tests for adding handlers. | Mike Milner | |