summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorMatt Clay <mclay@redhat.com>2020-02-04 20:21:53 +0100
committerGitHub <noreply@github.com>2020-02-04 20:21:53 +0100
commitf4a80bb600510669801c5d5c0a250952748e99fd (patch)
tree83ce363b557a66453a9f2c9d0b84c589e09fc57a /changelogs
parentfixes ANSIBLE_DUPLICATE_YAML_DICT_KEY=error crashes (#66786) (diff)
downloadansible-f4a80bb600510669801c5d5c0a250952748e99fd.tar.xz
ansible-f4a80bb600510669801c5d5c0a250952748e99fd.zip
Code cleanup and refactoring in ansible-test. (#67063)
* Code cleanup in ansible-test. * Split out encoding functions. * Consoldate loading of JSON files. * Split out disk IO functions. * Simplify file access. * Add functions for opening files. * Replace open calls with appropriate functions. * Expose more types from typing module. * Support writing compact JSON. * Add verbosity argument to display.warning. * Add changelog entry. * Update files overlooked during rebase. * Use `io.open` instead of `open`. * Fix file opening for imp.load_module. * Remove use of `r+` mode to access files. * Add missing import. * Fix httptester on Python 2.x. * Clarify changelog fragment. * Consolidate imports. Remove extra newlines. * Fix indirect imports.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/ansible-test-refactor.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-refactor.yml b/changelogs/fragments/ansible-test-refactor.yml
new file mode 100644
index 0000000000..b7e69e6f6e
--- /dev/null
+++ b/changelogs/fragments/ansible-test-refactor.yml
@@ -0,0 +1,5 @@
+minor_changes:
+ - "ansible-test - Support writing compact JSON files instead of formatting and indenting the output."
+ - "ansible-test - Add a verbosity option for displaying warnings."
+ - "ansible-test - Refactor code to consolidate filesystem access and improve handling of encoding."
+ - "ansible-test - General code cleanup."