summaryrefslogtreecommitdiff
path: root/tests/unit/test_shell.py
diff options
context:
space:
mode:
authorClay Gerrard <clay.gerrard@gmail.com>2015-01-21 17:20:53 -0800
committerClay Gerrard <clay.gerrard@gmail.com>2015-01-21 17:20:53 -0800
commiteef91b35139411fcef31855ce0ebe4407a2de70b (patch)
tree958d9d384d4dc4785f002af4e599ff1f9e77a318 /tests/unit/test_shell.py
parent7709fea51e71084163cf56c4d11a280ca4388357 (diff)
downloadpython-swiftclient-eef91b35139411fcef31855ce0ebe4407a2de70b.tar.gz
Fix environment sanitization for TestServiceUtils
I'm not sure how test_process_options_defaults ever passed for anyone that had all the ST_(AUTH|USER|KEY) set in their environment when they ran it. Despite our efforts to patch os.environ swiftclient.servce was acctually importing environ from os and then sticking the results into some global state. The tests seemed to work fine on infra, but for me locally until I `unset ST_AUTH` the test would always fail. Seems to work now and looks fairly reasonable on the surface. Change-Id: Id68590d6af16040a2877e719bc38d1e126603e42
Diffstat (limited to 'tests/unit/test_shell.py')
0 files changed, 0 insertions, 0 deletions