diff options
author | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-06-30 07:14:12 +0000 |
---|---|---|
committer | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-07-01 09:41:05 +0000 |
commit | 6a3fc8a04bdcc1d8df64d4ff5661c3c6b7c8bd0c (patch) | |
tree | 548d94a1648dd5dde219baca53c54bdba01d0c72 /tests/__init__.py | |
parent | 56f4b548ed1399b97a19ced508568b04812515e6 (diff) |
Fix pytest failure if http_proxy is set
Test "tests.test_binding.test_resolve_all" (in test_binding.py)
fails if proxy environment variable http_proxy is set.
httpretty mock is ignored and an actual request is sent to
non-existing address.
By this change proxy variable is unset during the test.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2834
Change-Id: Ie0d4bc41f6f83d7cfdd3abaa3266ff8ac5a91c2e
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions