From e2090403eaafe1e03794c3abf615f1dad58f21d4eef47e614b9ad773f19c1f9e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 2 Feb 2021 21:34:29 +0000 Subject: [PATCH] - disable test test_asyncio_record_replay as it requires DNS. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=28 --- python-mocket.changes | 5 +++++ python-mocket.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-mocket.changes b/python-mocket.changes index 367de9d..1872345 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner + +- disable test test_asyncio_record_replay as it requires DNS. + ------------------------------------------------------------------- Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner diff --git a/python-mocket.spec b/python-mocket.spec index 35412d2..a60f2df 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -106,7 +106,8 @@ pytest_python36_ignore="--ignore tests/tests38" %if %{python3_version_nodots} < 38 pytest_python3_ignore="--ignore tests/tests38" %endif -%pytest -k 'not RedisTestCase' ${pytest_$python_ignore} +# test_asyncio_record_replay requires DNS ("Temporary failure in name resolution") +%pytest -k 'not RedisTestCase and not test_asyncio_record_replay' ${pytest_$python_ignore} %endif %if !%{with test}