Created
December 29, 2022 08:18
-
-
Save bagder/2149533b93ee489179b4a8b1801eb3e9 to your computer and use it in GitHub Desktop.
pytest in tests/httpd (WITH apache2-dev installed)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd tests/httpd | |
$ pytest | |
===================================== test session starts ===================================== | |
platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack | |
httpd: [/usr/sbin/apache2] | |
rootdir: /home/daniel/src/curl/tests/httpd | |
collected 0 items / 1 error | |
=========================================== ERRORS ============================================ | |
______________________________ ERROR collecting test_01_basic.py ______________________________ | |
test_01_basic.py:40: in <module> | |
@pytest.mark.skipif(condition=Env.setup_incomplete(), | |
testenv/env.py:136: in setup_incomplete | |
if not Env.CONFIG.is_complete(): | |
testenv/env.py:118: in is_complete | |
os.path.isfile(self.apxs) | |
/usr/lib/python3.10/genericpath.py:30: in isfile | |
st = os.stat(path) | |
E TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType | |
--------------------------------------- Captured stderr --------------------------------------- | |
nghttpx -v: curl 7.87.1-DEV (x86_64-pc-linux-gnu) libcurl/7.87.1-DEV OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 c-ares/1.17.0 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.10.1_DEV nghttp2/1.50.0-DEV librtmp/2.3 libgsasl/2.2.0 | |
Release-Date: [unreleased] | |
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss | |
Features: alt-svc AsynchDNS brotli Debug gsasl GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP TrackMemory UnixSockets zstd | |
nghttpx -v: nghttpx nghttp2/1.50.0-DEV | |
=================================== short test summary info =================================== | |
ERROR test_01_basic.py - TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType | |
!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
====================================== 1 error in 0.09s ======================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment