Skip to content

Commit 3524857

Browse files
committed
Minor refactoring/corrections
1 parent 21d9948 commit 3524857

File tree

6 files changed

+860
-861
lines changed

6 files changed

+860
-861
lines changed

pyproject.toml

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
[tool.pytest.ini_options]
2-
# for "normal" test output
3-
#addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings"
4-
# addopts = [
5-
# "--import-mode=importlib",
6-
# "--tb native",
7-
# "--maxfail=300",
8-
# "-v -r fxX -p no:warnings",
9-
# ]
2+
#addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings --dburi=firebird://sysdba@/E:\\\\Project\\\\_data\\\\sqla_test.fdb?charset=UTF8&fb_library_name=E:\\\\Project\\\\_data\\\\fb-4.0.2.2816-0-x64\\\\fbclient.dll"
103
# for verbose test output (like engine.echo = True)
11-
12-
#addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings --log-info=sqlalchemy.engine --dburi=firebird://sysdba@/E:\\\\Project\\\\_data\\\\sqla_test.fdb?charset=UTF8&fb_library_name=E:\\\\Project\\\\_data\\\\fb-4.0.2.2816-0-x64\\\\fbclient.dll"
13-
addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings --log-info=sqlalchemy.engine"
14-
4+
addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings --dburi=firebird://sysdba@/E:\\\\Project\\\\_data\\\\sqla_test.fdb?charset=UTF8&fb_library_name=E:\\\\Project\\\\_data\\\\fb-4.0.2.2816-0-x64\\\\fbclient.dll --log-info=sqlalchemy.engine "
5+
#addopts = "--tb native -v -r fxX --maxfail=300 -p no:warnings --log-info=sqlalchemy.engine --dburi=firebird://sysdba@/E:\\\\Project\\\\_data\\\\sqla_test.fdb?charset=UTF8&fb_library_name=E:\\\\Project\\\\_data\\\\fb-3.0.10.33601-0-x64\\\\fbclient.dll"
6+
# TODO: check on why we get an undefined marker message when running pytest with SQLA 2.
7+
#markers = "backend: mark test as for the backend"
158
python_files = "test/*test_*.py"
169

1710
# SQLAlchemy-Firebird configuration for Black.

setup.cfg

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ requirement_cls=sqlalchemy_firebird.requirements:Requirements
66
profile_file=test/profiles.txt
77

88
[db]
9-
default=firebird://sysdba@/E:\Project\sql-fb\_data\sqla_test.fdb?charset=UTF8&fb_library_name=E:\Project\sql-fb\_data\fb-4.0.2.2816-0-x64\fbclient.dll
10-
# default=firebird://user:password@host:port/path/to/db[?charset=UTF8&key=value&key=value...]
11-
# embedded=firebird://path/to/db[?charset=UTF8&fb_library_name=/full_path_to/database_dll_or_so&key=value&key=value...]
12-
sqlite=sqlite:///:memory:
9+
;default=firebird://user:password@host:port/path/to/db[?charset=UTF8&key=value&key=value...]
10+
;embedded=firebird://path/to/db[?charset=UTF8&fb_library_name=/full_path_to/database_dll_or_so&key=value&key=value...]
11+

sqlalchemy_firebird/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Not supporting kinterbase
2626
# from . import kinterbasdb # noqa
2727

28-
__version__ = "0.8.0"
28+
__version__ = "0.8.1"
2929

3030
base.dialect = dialect = fdb.dialect
3131

0 commit comments

Comments
 (0)