Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-27 | Respond to review: | Barry Warsaw | |
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code. | |||
2015-01-26 | Repair the Python 2.6 tests. | Barry Warsaw | |
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-26 | More Python 3 test fixes. | Barry Warsaw | |
2015-01-26 | More test repairs. | Barry Warsaw | |
2015-01-22 | Low hanging Python 3 fruit. | Barry Warsaw | |
2015-01-22 | More conversions from mocker to mock. | Barry Warsaw | |
2014-07-23 | more | Dimitri John Ledkov | |
2014-07-23 | more | Dimitri John Ledkov | |
2014-03-27 | change 'default' encoding to be "None" | Scott Moser | |
Instead of just trying to see if userdata decodes as the indication that it should be encoded, the user must explicitly set this. The "just try it" will fail in the case where the user had other use of user-data and wanted a blob of data to go through unrecognized by cloud-init. In cases where there can be mistake in automatic behavior, and some users may be relaying on old behavior, its best to just require explicit use. | |||
2014-03-25 | Added base64 decoding of user data for OpenNebula. | Enol Fernandez | |
2014-01-17 | fix pep8 (trailing ';') | Scott Moser | |
2014-01-16 | DataSourceOpenNebula:parse_shell_config skip 'SECONDS' var if seen | Scott Moser | |
SECONDS is a special variable in bash, it gets set to the time the shell has been alive. This would cause us to fail randomly (if the process happened to take more than 1 second, then SECONDS would be defined). | |||
2013-10-02 | fix permission changes | Scott Moser | |
2013-10-01 | Reordered several imports in order for test suite to pass. | Eric Nordlund | |
2013-09-11 | All fake util.find_devs_with set before try-finally section | Vlastimil Holer | |
2013-09-10 | some cleanups and changes | Scott Moser | |
* use util.subp from inside parse_shell_config, and adjust exception handling accordingly. * add 'switch_user_cmd' as a callback function to pass to parse_shell_config, which allows us to mock this to avoid 'sudo' when running test cases. Basically the test cases just return '[]' here. * fix some pylint * handle empty 'content' in parse_shell_config and remove the protection that was present. | |||
2013-09-10 | Fix detection of ETHx_IP context variable, add test. | Vlastimil Holer | |
2013-09-10 | Detect invalid system user for test | Vlastimil Holer | |
2013-09-10 | Configurable OpenNebula::parseuser. Seed search dir+dev merge. ↵ | Vlastimil Holer | |
Eat shell parser error output. Few tests for tests for get_data. | |||
2013-09-10 | Replace RE context.sh parser with Scott's rewrite of bash dumper. Upper case ↵ | Vlastimil Holer | |
context variable names. | |||
2013-09-05 | PEP8 and Pylint fixes. Move context.sh "parser" into separate | Vlastimil Holer | |
function. Fix fetching user specified dsmode (from context). Rename context_sh->context. Reuse unittests.helpers.populate_dir. | |||
2013-09-04 | Fix RE matching context variables. Test cleanups. | Vlastimil Holer | |
2013-09-04 | Apply parse.diff by Javier Fontan <jfontan@opennebula.org> | Vlastimil Holer | |
2013-04-02 | Apply pep8.patch by Javier Fontan <jfontan@opennebula.org> | Vlastimil Holer | |
2013-02-19 | Test for more variable types in OpenNebula unit test. | Vlastimil Holer | |
2013-02-19 | New unit tests for OpenNebula data source. | Vlastimil Holer | |