Closed fdcastel closed 1 year ago
Steps:
git clone https://github.com/FirebirdSQL/python3-driver.git C:\Temp
python -m venv venv
.\venv\Scripts\activate
pip install .
pytest
(venv) PS C:\Temp\python3-driver> pytest ================================================= test session starts ================================================= platform win32 -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0 rootdir: C:\Temp\python3-driver plugins: anyio-3.6.2 collected 0 items / 1 error ======================================================= ERRORS ======================================================== ________________________________________ ERROR collecting test/test_driver.py _________________________________________ ImportError while importing test module 'C:\Temp\python3-driver\test\test_driver.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: C:\Python310\lib\importlib\__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test\test_driver.py:30: in <module> from firebird.base.logging import logging_manager, ANY, install_null_logger, \ E ModuleNotFoundError: No module named 'firebird' =============================================== short test summary info =============================================== ERROR test/test_driver.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ================================================== 1 error in 0.20s =================================================== (venv) PS C:\Temp\python3-driver> python --version Python 3.10.8
I am missing something?
Firebird driver does not use pytest for testing. All tests are based on standard unittest module.
Steps:
git clone https://github.com/FirebirdSQL/python3-driver.git C:\Temp
python -m venv venv
.\venv\Scripts\activate
pip install .
pytest
:I am missing something?