diff options
author | Clay Gerrard <clay.gerrard@gmail.com> | 2015-01-21 17:20:53 -0800 |
---|---|---|
committer | Clay Gerrard <clay.gerrard@gmail.com> | 2015-01-21 17:20:53 -0800 |
commit | eef91b35139411fcef31855ce0ebe4407a2de70b (patch) | |
tree | 958d9d384d4dc4785f002af4e599ff1f9e77a318 /tests/unit/test_shell.py | |
parent | 7709fea51e71084163cf56c4d11a280ca4388357 (diff) | |
download | python-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