15
0
forked from pool/python-PyFxA

- 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
This commit is contained in:
Antoine Belvire
2020-09-22 18:52:49 +00:00
committed by Git OBS Bridge
parent f8d4d101fa
commit 0495b05eb5
2 changed files with 8 additions and 2 deletions

View File

@@ -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