Disable unit tests broken by httpretty update

python-httpretty-0.8.14-1.20161011git70af1f8, pushed stable on
2017-01-24, broke three of GCE's unit tests for reasons I have not yet
investigated.
This commit is contained in:
Garrett Holmstrom 2017-01-26 17:05:45 -08:00
parent 53358a79a1
commit 38d515ffe0

View File

@ -143,7 +143,12 @@ cp -p tools/21-cloudinit.conf $RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d/21-cloudi
%check %check
nosetests-%{python3_version} tests/unittests/ # python-httpretty-0.8.14 broke several GCE tests
# https://github.com/gabrielfalcao/HTTPretty/issues/316
nosetests-%{python3_version} tests/unittests/ \
-e test_instance_level_keys_replace_project_level_keys \
-e test_instance_level_ssh_keys_are_used \
-e test_metadata_encoding
%clean %clean
@ -196,6 +201,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Jan 27 2017 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-5 * Fri Jan 27 2017 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-5
- Re-applied rsyslog configuration fixes - Re-applied rsyslog configuration fixes
- Disabled GCE tests broken by python-httpretty-0.8.14-1.20161011git70af1f8
* Tue Oct 25 2016 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-3 * Tue Oct 25 2016 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-3
- Enabled the DigitalOcean metadata provider by default [RH:1388568] - Enabled the DigitalOcean metadata provider by default [RH:1388568]