From aee1d541b359575a44cc6db5066d4e90c27bdefc Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Nov 21 2014 12:01:59 +0000 Subject: Disable networked tests with a patch. --- diff --git a/python-fedmsg-meta-fedora-infrastructure-disable-network-test.patch b/python-fedmsg-meta-fedora-infrastructure-disable-network-test.patch new file mode 100644 index 0000000..40d98de --- /dev/null +++ b/python-fedmsg-meta-fedora-infrastructure-disable-network-test.patch @@ -0,0 +1,26 @@ +From 50d563343f1c4cbd1deca39097a4791fea585972 Mon Sep 17 00:00:00 2001 +From: Ralph Bean +Date: Fri, 21 Nov 2014 06:55:58 -0500 +Subject: [PATCH] Disable network test. + +--- + fedmsg_meta_fedora_infrastructure/tests/scm.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/fedmsg_meta_fedora_infrastructure/tests/scm.py b/fedmsg_meta_fedora_infrastructure/tests/scm.py +index 38b2343..ebf297d 100644 +--- a/fedmsg_meta_fedora_infrastructure/tests/scm.py ++++ b/fedmsg_meta_fedora_infrastructure/tests/scm.py +@@ -41,7 +41,8 @@ class TestGitReceiveOldModified(Base): + expected_title = "git.receive" + expected_subti = ('rbean@redhat.com pushed to datanommer (master). "Try ' + 'removing requirement on python-bunch."') +- expected_long_form = expected_subti + "\n\n" + full_patch ++ # Don't run this in koji. ++ #expected_long_form = expected_subti + "\n\n" + full_patch + expected_secondary_icon = ( + 'https://seccdn.libravatar.org/avatar/' + '1a0d2acfddb1911ecf55da42cfa34710' +-- +1.9.3 + diff --git a/python-fedmsg-meta-fedora-infrastructure.spec b/python-fedmsg-meta-fedora-infrastructure.spec index c566c62..a200264 100644 --- a/python-fedmsg-meta-fedora-infrastructure.spec +++ b/python-fedmsg-meta-fedora-infrastructure.spec @@ -9,6 +9,7 @@ Group: Development/Libraries License: LGPLv2+ URL: http://pypi.python.org/pypi/%{modname} Source0: http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz +Patch0: python-fedmsg-meta-fedora-infrastructure-disable-network-test.patch BuildArch: noarch @@ -45,6 +46,7 @@ your messages. %prep %setup -q -n %{modname}-%{version} +%patch0 -p1 # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info @@ -72,6 +74,7 @@ rm -rf %{modname}.egg-info %changelog * Fri Nov 21 2014 Ralph Bean - 0.3.6-1 - Latest upstream with some bugfixes. +- Disable network test with patch. * Thu Oct 09 2014 Ralph Bean - 0.3.5-1 - Further fixes to anitya.