forked from pool/python-smart-open
- Do not kill moto_server three minutes into the testsuite. (bsc#1221663)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smart-open?expand=0&rev=10
This commit is contained in:
@@ -74,10 +74,12 @@ Includes support for S3, HDFS, gzip, bz2, etc.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
timeout 3m moto_server -p5000 2>/dev/null &
|
||||
moto_server -p5000 2>/dev/null &
|
||||
server_pid=$!
|
||||
export SO_ENABLE_MOTO_SERVER=1
|
||||
# Requires network
|
||||
%pytest -rs -k 'not (test_http_gz or test_s3_gzip_compress_sanity)' smart_open/
|
||||
kill $server_pid
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user