14
0
forked from pool/python-pysnmp
2024-07-29 09:00:41 +00:00
committed by Git OBS Bridge
parent 3c6b5c1baa
commit 3ae0b48c3a

View File

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