From 0495b05eb53d0e4109eb932de36c49190d72c371eba3dff6df64ca044bdc9133 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Tue, 22 Sep 2020 18:52:49 +0000 Subject: [PATCH] - Fix check section: Use double quotes when defining the list of tests since single quotes mess with the pytest macro. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyFxA?expand=0&rev=21 --- python-PyFxA.changes | 6 ++++++ python-PyFxA.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-PyFxA.changes b/python-PyFxA.changes index f92cf72..b5b3b9d 100644 --- a/python-PyFxA.changes +++ b/python-PyFxA.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 22 18:46:00 UTC 2020 - Antoine Belvire + +- Fix check section: Use double quotes when defining the list of + tests since single quotes mess with the pytest macro. + ------------------------------------------------------------------- Sat Jul 11 13:33:33 UTC 2020 - Antoine Belvire diff --git a/python-PyFxA.spec b/python-PyFxA.spec index e42511f..138644a 100644 --- a/python-PyFxA.spec +++ b/python-PyFxA.spec @@ -70,14 +70,14 @@ find ./ -type f -exec chmod -x {} + %check # Exclude tests which require network connection + # deprecated test_monkey_patch_for_gevent -includedTests='\ +includedTests="\ not TestAuthClientAuthorizeToken and\ not TestAuthClientVerifyCode and\ not TestCachedClient and\ not TestCoreClient and\ not TestCoreClientSession and\ not TestJwtToken and\ - not test_monkey_patch_for_gevent' + not test_monkey_patch_for_gevent" %pytest -k "${includedTests}" fxa/tests/ %post