yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42171
[Bug 1508868] Re: Certain tests require network access to http://example.com
** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1508868
Title:
Certain tests require network access to http://example.com
Status in Glance:
Fix Released
Bug description:
Following tests require networking and they actually request
http://example.com
sed -i 's/test_get_image_data_http/noop/' glance/tests/unit/common/scripts/test_scripts_utils.py
sed -i 's/test_set_image_data_http/noop/' glance/tests/unit/common/scripts/image_import/test_main.py
sed -i 's/test_create_image_with_nonexistent_location_url/noop/' glance/tests/unit/v1/test_api.py
sed -i 's/test_upload_image_http_nonexistent_location_url/noop/' glance/tests/unit/v1/test_api.py
Is that intentional (that unittest actually trigger a request?).
I'm packaging OpenStack for https://nixos.org and we don't allow
netowork access during testing phase.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1508868/+subscriptions
References