]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/rgw: fix for empty lists as default arguments 14816/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 26 Apr 2017 23:20:37 +0000 (19:20 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 26 Apr 2017 23:38:53 +0000 (19:38 -0400)
commit3f237a134d760b7f4cf90dcddbc4418c64368301
tree237855a86c0e7fc32f16d0a42c943c7ded1f44f2
parenta81863e7b8ddebee68bd08565ddad7d3e0f3c885
test/rgw: fix for empty lists as default arguments

i was incorrectly using [] as a default function argument, without
realizing that default values are mutable and shared across invocations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/rgw_multi/multisite.py
src/test/rgw/test_multi.py