diff --git a/python-pysnmp.spec b/python-pysnmp.spec index 229e287..dc7bd4f 100644 --- a/python-pysnmp.spec +++ b/python-pysnmp.spec @@ -72,10 +72,12 @@ chmod -x docs/net-snmptrapd.conf docs/net-snmpd.conf %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +donttest="test_addAsn1MibSource" + # Running tests with python -m to make it work with the import path %{python_expand # # Not running asyncio tests that requires network -$python -m pytest -v -m 'not asyncio' +$python -m pytest -v -m 'not asyncio' -k "not $donttest" } %files %{python_files}