kopia lustrzana https://github.com/simonw/s3-credentials
Fix for ordering bug in tests, refs #85
rodzic
52cac3df1b
commit
ad9b4a4a6f
|
@ -1203,7 +1203,9 @@ def test_put_objects(moto_s3, args, expected, expected_output):
|
||||||
cli, ["put-objects", "my-bucket"] + args, catch_exceptions=False
|
cli, ["put-objects", "my-bucket"] + args, catch_exceptions=False
|
||||||
)
|
)
|
||||||
assert result.exit_code == 0, result.output
|
assert result.exit_code == 0, result.output
|
||||||
assert result.output == (expected_output or "")
|
assert set(result.output.split("\n")) == set(
|
||||||
|
(expected_output or "").split("\n")
|
||||||
|
)
|
||||||
# Check files were uploaded
|
# Check files were uploaded
|
||||||
keys = {
|
keys = {
|
||||||
obj["Key"]
|
obj["Key"]
|
||||||
|
|
Ładowanie…
Reference in New Issue