Repository: cossacklabs/acra (language: python)

Issue:
Fixed acra-keymaker  sym key generation into uncreated dir
Just added MkdirAll to KeyStore.WriteKeyFile() to create dir preliminarily.

<!-- Describe your changes here -->

## Checklist

- [x] Change is covered by automated tests
- [x] The [coding guidelines] are followed
- [x] Public API has proper documentation in the [Acra documentation] site or has PR on [documentation repository] 
  with new changes
- [x] CHANGELOG.md is updated (in case of notable or breaking changes)
- [x] CHANGELOG_DEV.md is updated
- [x] Benchmark results are attached (if applicable)
- [x] [Example projects and code samples] are up-to-date (in case of API changes) 

[coding guidelines]: https://golang.org/doc/effective_go
[Example projects and code samples]: https://github.com/cossacklabs/acra-engineering-demo
[Acra documentation]: https://docs.cossacklabs.com/
[documentation repository]: https://github.com/cossacklabs/product-docs


Discussion / hints:

Fix patch:
diff --git a/.circleci/integration.sh b/.circleci/integration.sh
index dac6b85b7..1d32ab571 100755
--- a/.circleci/integration.sh
+++ b/.circleci/integration.sh
@@ -43,6 +43,7 @@ for go_version in $GO_VERSIONS; do
     # use already existing binaries or create new empty folder
     export TEST_BINARY_OUTPUT_FOLDER="$(realpath "${TEST_BINARY_OUTPUT_FOLDER}")/${go_version}"
     mkdir -p "${TEST_BINARY_OUTPUT_FOLDER}"
+    export TEST_CLEAN_BINARIES=false
 
     echo "-------------------- Testing $(go version) at $(which go)"
     echo "GOROOT=$GOROOT"


Test patch:
diff --git a/tests/test.py b/tests/test.py
index 96db1a40f..558e4f2b2 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -1081,7 +1081,7 @@ def test_gen_keys_with_empty_client_id(self):
 
             #check that keymaker will no fail on case of not created directory
             subprocess.check_output(
-                ['./acra-keymaker',
+                [os.path.join(BINARY_OUTPUT_FOLDER, 'acra-keymaker'),
                  '--client_id=',
                  '--tls_cert={}'.format(TEST_TLS_CLIENT_CERT),
                  '--keystore={}'.format(KEYSTORE_VERSION),