-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed as not planned
Description
Steps:
- Git repository cloned into C:\Temp:
git clone https://github.com/FirebirdSQL/python3-driver.git C:\Temp
- Created venv:
python -m venv venv
- Activate venv:
.\venv\Scripts\activate
- Install dependencies
pip install .
- Run tests:
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?
Metadata
Metadata
Assignees
Labels
No labels