From 1d332ed1ce331de001a43356ca28d1cc5bdb2ace Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 28 2018 12:17:26 +0000 Subject: Add comment about running tests in mock if needed --- diff --git a/spec-templates/python.spec b/spec-templates/python.spec index 0bbc554..94f93ac 100644 --- a/spec-templates/python.spec +++ b/spec-templates/python.spec @@ -8,6 +8,10 @@ %endif # Enabled by default +# If the package needs to download data for the test which cannot be done in +# koji, these can be disabled in koji by using `bcond_with` instead, but the +# tests must be validated in mock with network enabled like so: +# mock -r fedora-rawhide-x86_64 rebuild --enable-network --rpmbuild-opts="--with tests" %bcond_without tests %global pypi_name example