Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
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 | 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 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-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-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 | |||
2016-03-07 | No longer run pollinate by default in seed_random | Scott Moser | |
The user can still choose to run pollinate here to seed their random data. And in an environment with network datasource, that would be expected to work. However, we do not want to run it any more from cloud-init because a.) pollinate's own init system jobs should get it ran before ssh, which is the primary purpose of wanting cloud-init to run it. b.) with a local datasource, there is no network guarantee when init_modules run, so pollinate -q would often cause issues then. c.) cloud-init would run pollinate and log the failure causing many cloud-init specific failures that it could do nothing about. LP: #1554152 | |||
2016-03-03 | Apply pep8, pyflakes fixes for python2 and 3 | Ryan Harper | |
Update make check target to use pep8, pyflakes, pyflakes3. | |||
2016-03-03 | Fix pyflake/pyflake3 errors | Ryan Harper | |
Now we can run make check to assess pep8, pyflakes for python2 or 3 And execute unittests via nosetests (2 and 3). |