Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-07 | harden mirrorfail tests for the fact that even good mirrors can fail | Christian Ehrhardt | |
This might happen e.g. in locked down build environments. In those cases this is detected and the test skipped while not giving up testing it in more capable environments. | |||
2016-06-07 | drop gpg activity from aot-source key tests | Christian Ehrhardt | |
While the unittest gets a bit less real by that change, it will work in protected environment (e.g. sbuild) and leave the developers .gpg keyring alone. | |||
2016-06-06 | make unittests more readable | Christian Ehrhardt | |
By moving the "what it does" into the first line of the docstrings output becomes much more useful. | |||
2016-06-06 | capture output of gpg calls to avoid messing up stdout/stderr | Christian Ehrhardt | |
2016-06-06 | remove check that fails if user has installed tested keys | Christian Ehrhardt | |
The overall check for the expected key is a superset and would spot an issue. | |||
2016-06-06 | apt_src_keyid_real: drop unused exception variable | Christian Ehrhardt | |
2016-06-06 | fix alternate keyserver dns | Christian Ehrhardt | |
The intentionally false name was meant for testing of abug, now we can and should use a proper third party keyserver. | |||
2016-06-06 | only test the apt feature in environments with apt | Christian Ehrhardt | |
2016-06-06 | rename add_key / add_source to add_apt_key / add_apt_source | Christian Ehrhardt | |
The functions clearly are apt specific so the name should reflect that. | |||
2016-06-06 | fixup key tests for cases where network isn't available | Christian Ehrhardt | |
2016-06-06 | add_key_raw - make exceptions more specific | Christian Ehrhardt | |
2016-06-06 | test alternate keyserver | Christian Ehrhardt | |
2016-06-06 | make _get_default_params method static | Christian Ehrhardt | |
2016-06-06 | unify testing of real gpg key adds | Christian Ehrhardt | |
2016-06-03 | tests: fix apt tests to run inside ubuntu build environment | Scott Moser | |
This just mocks out use of lsb_release as it is not available in a build environment. Additionally mocks out use of getkeybyid. This admittedly makes the test for a long key fingerprint not useful as it was broken only inside getkeybyid. Also fix 'make yaml' for cloud-config.txt | |||
2016-06-03 | fix tox -e flake8 | Scott Moser | |
2016-05-30 | add test for wrong apt_source format | Christian Ehrhardt | |
2016-05-30 | drop errorlist from convert_to_new_format | Christian Ehrhardt | |
2016-05-25 | fix inline doc of test_apt_src_longkeyid_real | Christian Ehrhardt | |
2016-05-25 | make test_apt_srcl_custom independent to where it is executed | Christian Ehrhardt | |
2016-05-24 | add test for the now isolated convert_to_new_format function | Christian Ehrhardt | |
2016-05-24 | rebased with upstream and reolved merge conflicts | Christian Ehrhardt | |
2016-05-23 | final pep8 check fixups | Christian Ehrhardt | |
2016-05-23 | add test_apt_src_replace_dict_tri | Christian 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-23 | shorten method names to follow python rules | Christian Ehrhardt | |
2016-05-23 | unify basic triple check and add test_apt_src_basic_dict_triple based on it | Christian Ehrhardt | |
2016-05-23 | add test_apt_source_basic_dict | Christian Ehrhardt | |
This is the basic testcase but in the new dictionary format | |||
2016-05-23 | add triple test for ppa adding | Christian Ehrhardt | |
2016-05-23 | make checkers happy about unused loop index | Christian Ehrhardt | |
2016-05-23 | add triple case for test_apt_source_keyid_triple incl triple key check | Christian Ehrhardt | |
2016-05-23 | testcases with multiple source list entries | Christian Ehrhardt | |
2016-05-23 | fix function names in inline doc | Christian Ehrhardt | |
2016-05-23 | extend test_apt_source_key by nofn case | Christian Ehrhardt | |
2016-05-23 | put fallbackfn to init | Christian Ehrhardt | |
This was now used by multiple methods, no need to duplicate code. | |||
2016-05-23 | extend test_apt_source_keyid by no filename case | Christian Ehrhardt | |
2016-05-23 | extend test_apt_source_replace by a no-filename case | Christian Ehrhardt | |
2016-05-23 | drop unused mockappsubp | Christian Ehrhardt | |
2016-05-23 | test_apt_source_basic_nofn check for non-specified filename | Christian Ehrhardt | |
Cloud-inint uses a default fallback, we want to ensure no code change modfies this behaviour. | |||
2016-05-23 | generalize test_apt_source_basic to be reusable across more testcases | Christian Ehrhardt | |
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 |