summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-03fix tox -e flake8Scott Moser
2016-05-30merge with last upstream to avoid merging conflicts on MPChristian Ehrhardt
2016-05-30fix EXPORT_GPG_KEYID for existing keysChristian Ehrhardt
This was broken for keys already existing in the local keyring. There instead of the keycontent it reported the header like: pub 1024R/03683F77 2009-10-27 uid Launchpad PPA for Scott Moser
2016-05-30improve wording in the examplesChristian Ehrhardt
2016-05-30add test for wrong apt_source formatChristian Ehrhardt
2016-05-30drop errorlist from convert_to_new_formatChristian Ehrhardt
2016-05-26packages/bddeb: update to know package mappings for flake8 and hackingScott Moser
packages/bddeb failed to work after flake8 and hacking were added to test-requirements.txt. The necessary fix is just to know about the debian package names for those pypi packages.
2016-05-26kernel command line: override all local settingsScott Moser
settings on the kernel command line (cc:) were documented to override all local settings, but a bug in implementation meant they would only override those that are in /etc/cloud/cloud.cfg, not any found in /etc/cloud/cloud.cfg.d. LP: #1582323
2016-05-25packages/bddeb: fix to know about packages flake8 and hackingScott Moser
2016-05-25fix logic error in ec2 get_instance_userdata and slow testsScott Moser
The change to get_instance_userdata is to fix an issue that was causing retry in the test when it was not desired. if user_data returned 404 it means "there was no user-data", so dont bother retrying. However, _skip_retry_on_codes was returning False indicating that readurl should retry. test_merging was creating 2500 random tests, shrink that down to 100. test_seed_runs is still on my system the slowest test, but taking < .5 seconds where it was taking > 3.
2016-05-25remove debug print statementsScott Moser
2016-05-25fix inline doc of test_apt_src_longkeyid_realChristian Ehrhardt
2016-05-25make test_apt_srcl_custom independent to where it is executedChristian Ehrhardt
2016-05-24update changelogScott Moser
2016-05-24fix logic error in ec2 get_instance_userdata and slow testsScott Moser
The change to get_instance_userdata is to fix an issue that was causing retry in the test when it was not desired. if user_data returned 404 it means "there was no user-data", so dont bother retrying. However, _skip_retry_on_codes was returning False indicating that readurl should retry. test_merging was creating 2500 random tests, shrink that down to 100. test_seed_runs is still on my system the slowest test, but taking < .5 seconds where it was taking > 3.
2016-05-24fix up tests that take too long due to retries and timeoutsScott Moser
2016-05-24Make the usage of 'nose-timer' optionalJoshua Harlow
2016-05-24add test for the now isolated convert_to_new_format functionChristian Ehrhardt
2016-05-24pacify pep8 regarding the new changesChristian Ehrhardt
2016-05-24integrate further smaller review feedbackChristian Ehrhardt
2016-05-24rebased with upstream and reolved merge conflictsChristian Ehrhardt
2016-05-24improve examples of ap_sourceChristian Ehrhardt
2016-05-24fix typo in examples docChristian Ehrhardt
2016-05-23final pep8 check fixupsChristian Ehrhardt
2016-05-23modify cloud-config examples to match the new apt_source formatChristian Ehrhardt
2016-05-23add test_apt_src_replace_dict_triChristian Ehrhardt
This includes a test for the weird but valid case in the new dictionary syntax that one sets a key (which is the filename) but overwrites the filename value inside of it.
2016-05-23shorten method names to follow python rulesChristian Ehrhardt
2016-05-23make sure we only handle list or dict apt_sources and bail out for othersChristian Ehrhardt
2016-05-23unify basic triple check and add test_apt_src_basic_dict_triple based on itChristian Ehrhardt
2016-05-23add test_apt_source_basic_dictChristian Ehrhardt
This is the basic testcase but in the new dictionary format
2016-05-23fix issue with dictionary style apt_sources handling filenamesChristian Ehrhardt
2016-05-23add triple test for ppa addingChristian Ehrhardt
2016-05-23make checkers happy about unused loop indexChristian Ehrhardt
2016-05-23add triple case for test_apt_source_keyid_triple incl triple key checkChristian Ehrhardt
2016-05-23testcases with multiple source list entriesChristian Ehrhardt
2016-05-23fix function names in inline docChristian Ehrhardt
2016-05-23warn about multiple colliding apt_source without filenamesChristian Ehrhardt
2016-05-23support apt_sources to be a dictionaryChristian Ehrhardt
key is the filename, and "old" input shall be handled as it was all the time. For compatibility this will (continue to) overwrite the file of multiple options that did not specify an output file (they all get the same default). Yet it will process them all - as it always did - e.g. to add the keys of all of them. Any users of the new format won't have these issues, as they will always have a key.
2016-05-23extend test_apt_source_key by nofn caseChristian Ehrhardt
2016-05-23put fallbackfn to initChristian Ehrhardt
This was now used by multiple methods, no need to duplicate code.
2016-05-23extend test_apt_source_keyid by no filename caseChristian Ehrhardt
2016-05-23extend test_apt_source_replace by a no-filename caseChristian Ehrhardt
2016-05-23drop unused mockappsubpChristian Ehrhardt
2016-05-23test_apt_source_basic_nofn check for non-specified filenameChristian Ehrhardt
Cloud-inint uses a default fallback, we want to ensure no code change modfies this behaviour.
2016-05-23generalize test_apt_source_basic to be reusable across more testcasesChristian Ehrhardt
2016-05-17Document improvements for runcmd/bootcmdMatt Fischer
Note that runcmd runs only on first boot. Note that strings need to be quoted, not escaped. Switch bootcmd list text to use - not * like everything else.
2016-05-16Fix slow testsJoshua Harlow
Timeouts and retries were triggering so make it so that tests do not use the typical timesouts and retries so that the tests finish faster.
2016-05-12Enable nose-timer and always show top 10 slow testsJoshua Harlow
2016-05-12Enable flake8 and fix a large amount of reported issuesJoshua Harlow
2016-05-12fix last flake8 errorScott Moser