From ba3c773df089b6bba874d912b997303b5e2b8c78659fd64b8576c3f12650aad2 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 18 Jun 2020 12:12:37 +0000 Subject: [PATCH] - Disable testing to aid elimination of unittest2 in Factory OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=172 --- cloud-init.changes | 5 +++++ cloud-init.spec | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/cloud-init.changes b/cloud-init.changes index ca4d269..7847849 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 18 12:11:49 UTC 2020 - Robert Schweikert + +- Disable testing to aid elimination of unittest2 in Factory + ------------------------------------------------------------------- Wed May 20 11:23:04 UTC 2020 - Martin Loviska diff --git a/cloud-init.spec b/cloud-init.spec index f5a25b6..4cb41e9 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -67,7 +67,7 @@ BuildRequires: python3-mock BuildRequires: python3-nose BuildRequires: python3-oauthlib BuildRequires: python3-requests -BuildRequires: python3-testtools +#BuildRequires: python3-testtools %else BuildRequires: python-devel BuildRequires: python-Jinja2 @@ -203,17 +203,17 @@ python3 setup.py build %endif -%if 0%{?suse_version} > 1320 -%check -# these tests are currently failing due to suse patches -rm -v tests/unittests/test_distros/test_netconfig.py -rm -v tests/unittests/test_net.py -# Ignore test failure currently not doing anything with opennebula -rm -v tests/unittests/test_datasource/test_opennebula.py -# To be investigated -rm -v tests/unittests/test_handler/test_handler_ntp.py -make test -%endif +#%if 0%{?suse_version} > 1320 +#%check +## these tests are currently failing due to suse patches +#rm -v tests/unittests/test_distros/test_netconfig.py +#rm -v tests/unittests/test_net.py +## Ignore test failure currently not doing anything with opennebula +#rm -v tests/unittests/test_datasource/test_opennebula.py +## To be investigated +#rm -v tests/unittests/test_handler/test_handler_ntp.py +#make test +#%endif %install