This PR formats all the `*.py` files found under the `tests/integration`
folder. It also reorders the imports and cleans up a bunch of unused
imports.
The formatting also takes care of other things like wrapping lines and
fixing spaces and indents such that the tests look more readable.
After first INSERT for disk2 there should not be created any per-shard
directory, so find(1) should report an error, like:
find: '/disk2/data/test/dist_foo/default@127%2E0%2E0%2E2:9000': No such file or directory"
But sometimes output can be fixed, and output of wc(1) will goes first
and python's int() will parse it and not fail, but if find(1) stderr
will goes first the int() will fail to parse.
And here is an example of such mixing:
$ docker run --name alpine --rm -it alpine top
$ docker exec alpine sh -c 'echo foo >&2 | wc -c'
foo
0
$ docker exec alpine sh -c 'echo foo >&2 | wc -c'
0
foo