Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gbp: Fix misc spelling in user visible output and comments | Otto Kekäläinen | 2024-01-12 |
| | |||
* | tests.testutils: helpers for checking existence of commands | Markus Lehtonen | 2018-03-01 |
| | | | | | | | | | Add new have_cmd() helper for checking if a command is available, and, a skip_without_cmd() decorator for skipping tests in case a command is missing. Convert existing checks for commands to use these new functions. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> | ||
* | 8bit Guido | Guido Günther | 2018-02-26 |
| | |||
* | gbplogtaster: capture INFO and DEBUG log levels too | Guido Günther | 2018-01-29 |
| | | | | | | | | This allows to test for certain features more easily and to use it not only in the error case. Using two different streams allows us to test that messages still end up on stderr or stdout correctly. | ||
* | tests.testutils: fix stderr capture | Markus Lehtonen | 2018-01-18 |
| | | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> | ||
* | tests: use encoding when opening files for checks and fixtures | Guido Günther | 2017-11-06 |
| | | | | so we don't fail on non utf-8 locales | ||
* | DebianGitTestRepo: allow to set file mode | Guido Günther | 2017-11-06 |
| | | | | This allows us to write binary files as well | ||
* | Kill six.StringIO | Guido Günther | 2017-10-20 |
| | |||
* | tests: move patch_popen to testutils | Guido Günther | 2017-08-02 |
| | |||
* | Use sane default for OsRelese file | Guido Günther | 2017-08-02 |
| | |||
* | gbplogtester: allow to match anywhere in the log | Guido Günther | 2017-01-11 |
| | |||
* | import-orig: Handle download errors properly | Guido Günther | 2016-12-26 |
| | | | | | This introduces tests that reach out to the network. These are disabled by default. | ||
* | test_supercommand: test --list-cmds | Guido Günther | 2016-12-26 |
| | |||
* | pep8/pyflakes cleanups | Guido Günther | 2016-09-12 |
| | |||
* | tests: Check help of all rpm commands as well | Guido Günther | 2016-07-04 |
| | | | | | Since we need to iterate over all commands in other tests we add a decorator. | ||
* | debiantestgitrepo: Allow to inject repo class name | Guido Günther | 2016-06-28 |
| | | | | This allows us to use the helpers for other repo types as well | ||
* | gbplogtester: Check if we have enough log lines | Guido Günther | 2016-03-13 |
| | |||
* | Change "it's" to "its" in comments where appropriate | Anthony Fok | 2015-09-10 |
| | |||
* | tests.testutils: add ls_dir(), ls_tar() and ls_zip() | Markus Lehtonen | 2015-08-19 |
| | | | | | | | New helper functions for listing the content of a directory, tarball and a zip archive. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> | ||
* | call debchange instead of dch | Evgeni Golov | 2015-06-30 |
| | | | | | | | | | Call the tool by its actual name instead of the abbriviation. dch is a symlink to debchange, which is not present on Fedora [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1236122 Signed-off-by: Guido Günther <agx@sigxcpu.org> | ||
* | Use six.StringIO | Guido Günther | 2015-03-27 |
| | | | | | | to work towards Python3 support Gbp-Dch: Ignore | ||
* | testutils: Add a context manager to capture stderr | Guido Günther | 2015-03-27 |
| | | | | and use it to test the help output | ||
* | testutils: Fix __all__ | Guido Günther | 2015-03-27 |
| | | | | The values weren't correctly seperated | ||
* | gbplogtester: Reliably remove all handlers | Guido Günther | 2015-03-27 |
| | | | | | So far we were modifying the list of handlers in place which resulted in all handlers being removed at the second call to _capture_log only. | ||
* | gbplogtester: Make sure log capture start is followed by a log capture stop | Guido Günther | 2015-03-27 |
| | |||
* | gbplogtester: add helper to test for empty log | Guido Günther | 2015-03-27 |
| | |||
* | Remove unused import | Guido Günther | 2015-02-21 |
| | | | | and pylint exception that doesn't trigger | ||
* | Use relative import | Guido Günther | 2015-02-20 |
| | | | | so Python3 can cope as well | ||
* | Use six.StringIO | Guido Günther | 2015-02-20 |
| | | | | | | to work towards Python3 support Gbp-Dch: Ignore | ||
* | testutils: split out DebianGitTestRepo | Guido Günther | 2015-01-25 |
| | | | | Gbp-Dch: Ignore | ||
* | testutils: Move log test helpers to separate class | Guido Günther | 2015-01-25 |
| | | | | so we can use them in the unit tests as well | ||
* | Move testutils to separate module | Guido Günther | 2015-01-25 |