0bea84ac20
Passing mutable objects as default args is a known Python pitfall. We'd better avoid this. This commit changes mutable default args with None, then use 'arg = arg or {}', 'arg = arg or []'. For unit code which doesn't use the args , just set with None. This commit also adds hacking check. Closes-Bug: #1327473 Change-Id: I5a8492bf8ffef8e000b13b6bdfaef1968b96f816 |
||
---|---|---|
.. | ||
api | ||
api_samples | ||
v3 | ||
__init__.py | ||
api_samples_test_base.py | ||
integrated_helpers.py | ||
test_api_samples.py | ||
test_extensions.py | ||
test_login.py | ||
test_multiprocess_api.py | ||
test_servers.py | ||
test_xml.py |