Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-12 | run flake8 instead of pyflakes in tox. expect tests/ to pass flake8. | Scott Moser | |
2016-05-12 | make pep8 happy with a few spaces | Christian Ehrhardt | |
2016-05-12 | streamline code and sanitize expected result string definition | Christian Ehrhardt | |
2016-05-12 | improve spacing in apt_source_list test | Christian Ehrhardt | |
2016-05-12 | alphabetical order on imports | Christian Ehrhardt | |
2016-05-12 | alphabetical import order | Christian Ehrhardt | |
2016-05-12 | remove superfluous import | Christian Ehrhardt | |
2016-05-12 | Adding test_apt_source_keyid_real and test_apt_source_longkeyid_real | Christian Ehrhardt | |
This now ensures that the stack of fetching IDs from keyservers and adding them really works by comparing against known good keys that are expected. | |||
2016-05-12 | remove no more applicable "not supported" statements | Christian Ehrhardt | |
2016-05-12 | use old style nested context to make pep8 happy | Christian Ehrhardt | |
2016-05-12 | Finalize test_apt_srcl_custom | Christian Ehrhardt | |
Adding: - known content after full templating - restore subp from mocking for proper execution - drop all kind of superfluous mocking of util and OS | |||
2016-05-12 | initial version of a test for a custom source.list template | Christian Ehrhardt | |
2016-05-12 | use recommended http mirror redirection for debian | Christian Ehrhardt | |
2016-05-12 | remove missed test print | Christian Ehrhardt | |
2016-05-12 | order code in test order | Christian Ehrhardt | |
2016-05-12 | test mirror list with failing mirror | Christian Ehrhardt | |
2016-05-12 | test debian and ubuntu source.list templating | Christian Ehrhardt | |
2016-05-12 | add testcase for rendering of templates into source.list | Christian Ehrhardt | |
2016-05-12 | remove unused test parts in test_handler_apt_source | Christian Ehrhardt | |
2016-05-11 | Use a fake serial module that will allow tests to contine | Joshua Harlow | |
Instead of aborting all serial using tests instead just create a serial module in cloudinit that will create a fake and broken serial class when pyserial is not actually installed. This allows for using the datasource and tests that exist in a more functional and tested manner (even when pyserial is not found). | |||
2016-05-11 | Fix py26 for rhel (and older versions of python) | Joshua Harlow | |
2016-05-11 | fix pep8 warning | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyidonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | apt_apt_source_key doesn't need a mocked retval | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | split test_apt_source_key into one for key and one for keyid | Christian Ehrhardt | |
2016-05-11 | fix a few forgotten pep8 warnings in test_handler_apt_source.py | Christian Ehrhardt | |
2016-05-11 | convert test_apt_source_ppa to use a mocked util.subp | Christian Ehrhardt | |
2016-05-11 | fix specification of keyid | Christian Ehrhardt | |
2016-05-11 | test test_apt_source_key with mocked util.subp | Christian Ehrhardt | |
2016-05-10 | Use lstrip for easier viewing of test expected result | Joshua Harlow | |
2016-05-10 | Add some basic eni rendering tests | Joshua Harlow | |
2016-05-10 | Fix up tests and debian distro | Joshua Harlow | |
2016-05-10 | use proper asserRaises for try catch | Christian Ehrhardt | |
2016-05-10 | provide valid matcher for ppa so that apt-add-repository is triggered | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_key for sources with a keyid to import | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_ppa (failing for now) | Christian Ehrhardt | |
2016-05-10 | split into basic and replacement test | Christian Ehrhardt | |
2016-05-10 | basic apt_source test | Christian Ehrhardt | |
2016-05-05 | Get this test of net json -> net config working | Joshua Harlow | |
2016-05-05 | Work on refactoring (and adding) network conversion tests | Joshua Harlow | |
2016-04-29 | Paths: fix instance path if datasource's id has a '/'. | Scott Moser | |
If the datasource's instance id contained a '/' then the instance_id path would not be as expected under /var/lib/cloud/instances/instance_id. LP: #1575938 | |||
2016-04-15 | support and render control=manual on initramfs network devices | Scott Moser | |
when reading the initramfs configurewd devices and turning them into network config, we change to not have 'auto' control (or allow=auto). The reason for this is that if the device was still up: a.) it would try to bring it up again (due to bug 1570142) b.) it would be brought down. 'b' is problematic if there is an iscsi or network root filesystem. Note, that ifupdown does now support 'no-auto-down' which means that the nic should not be brought down on 'ifdown -a'. LP: #1568637 | |||
2016-04-13 | chef: straighten out validation_cert and validation_key | Scott Moser | |
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940 | |||
2016-04-12 | rh_subscription: only check subscription if configured | Scott Moser | |
The rh_subscription config module would attempt to connect to the RHN servers even when no config is provided. Now, instead check to make sure that valid config is provided first. That consists of username and password or a activation key. LP: #1536706 | |||
2016-04-12 | chef: straighten out validation_cert and validation_key | Scott Moser | |
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940 | |||
2016-04-11 | Add tests for lxd-bridge | Stéphane Graber | |
2016-04-06 | Ensure that a resolve conf object is written as a string. | Scott Moser | |
Instead of passing the raw object and expecting the write_file to work automatically make sure we explicitly pass the string version of it so that the write_file routine can correctly encode/decode it as needed. LP: #1479988 | |||
2016-04-06 | fix tests and hopefully actually work | Scott Moser | |
2016-04-05 | write_files: fix decompression of content | Scott Moser | |
When provided with gzipped data, an exception would be raised because of a conversion to string. This fixes the issue and adds a test for write_files. LP: #1565638 |