summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12make pep8 happy with a few spacesChristian Ehrhardt
2016-05-12streamline code and sanitize expected result string definitionChristian Ehrhardt
2016-05-12improve spacing in apt_source_list testChristian Ehrhardt
2016-05-12fix old typo in exampleChristian Ehrhardt
2016-05-12alphabetical order on importsChristian Ehrhardt
2016-05-12alphabetical import orderChristian Ehrhardt
2016-05-12remove superfluous importChristian Ehrhardt
2016-05-12Adding test_apt_source_keyid_real and test_apt_source_longkeyid_realChristian 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-12split add_key and add_key_raw fior better testabilityChristian Ehrhardt
2016-05-12fix EXPORT_GPG_KEYID for long key fingerprintsChristian Ehrhardt
2016-05-12remove Unnecessary parens in add_keyChristian Ehrhardt
2016-05-12move errorlist.append out of add_keyChristian Ehrhardt
2016-05-12remove no more applicable "not supported" statementsChristian Ehrhardt
2016-05-12Document apt_custom_sources_list in examplesChristian Ehrhardt
2016-05-12add feature to allow a custom template for source listChristian Ehrhardt
2016-05-12use old style nested context to make pep8 happyChristian Ehrhardt
2016-05-12Finalize test_apt_srcl_customChristian 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-12initial version of a test for a custom source.list templateChristian Ehrhardt
2016-05-12use recommended http mirror redirection for debianChristian Ehrhardt
2016-05-12remove missed test printChristian Ehrhardt
2016-05-12order code in test orderChristian Ehrhardt
2016-05-12test mirror list with failing mirrorChristian Ehrhardt
2016-05-12test debian and ubuntu source.list templatingChristian Ehrhardt
2016-05-12add testcase for rendering of templates into source.listChristian Ehrhardt
2016-05-12remove unused test parts in test_handler_apt_sourceChristian Ehrhardt
2016-05-12update doc/examples/cloud-config.txt with new key-without-source casesChristian Ehrhardt
2016-05-12allow to add keys without specifying a sourceChristian Ehrhardt
2016-05-11fix pep8 warningChristian Ehrhardt
2016-05-11add test_apt_source_keyidonly (not yet supported)Christian Ehrhardt
2016-05-11apt_apt_source_key doesn't need a mocked retvalChristian Ehrhardt
2016-05-11add test_apt_source_keyonly (not yet supported)Christian Ehrhardt
2016-05-11split test_apt_source_key into one for key and one for keyidChristian Ehrhardt
2016-05-11fix a few forgotten pep8 warnings in test_handler_apt_source.pyChristian Ehrhardt
2016-05-11convert test_apt_source_ppa to use a mocked util.subpChristian Ehrhardt
2016-05-11fix specification of keyidChristian Ehrhardt
2016-05-11test test_apt_source_key with mocked util.subpChristian Ehrhardt
2016-05-10use proper asserRaises for try catchChristian Ehrhardt
2016-05-10provide valid matcher for ppa so that apt-add-repository is triggeredChristian Ehrhardt
2016-05-10add test_apt_source_key for sources with a keyid to importChristian Ehrhardt