-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
40 lines (32 loc) · 1.82 KB
/
setup.cfg
File metadata and controls
40 lines (32 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tool:pytest]
addopts= --tb native -v -r fxX --maxfail=25 -p no:warnings
# Traceback print mode (auto/long/short/line/native/no)
# addopts= --pdb --tb native -v -r fxX --maxfail=25 -p no:warnings
python_files=test/*test_*.py
# python_files=env/Lib/site-packages/sqlalchemy/testing/suite/*test_*.py
# python_files=../sqlalchemy/test/*test_*.py
# Commented out the three lines below because they caused... configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%Y-%m-%d %H:%M:%S'
# log_cli_date_format = %Y-%m-%d %H:%M:%S
# log_file = logs/pytest-logs.txt
# log_file_date_format = %Y-%m-%d %H:%M:%S
# The ``[tool:pytest]`` section include directives to help with these runners.
# When using pytest the test/conftest.py file will bootstrap SQLAlchemy's plugin.
# Custom markers, see: https://docs.pytest.org/en/stable/how-to/mark.html
markers =
mypy: mypy integration / plugin tests
backend: tests that should run on all backends; typically dialect-sensitive
# memory_intensive: memory / CPU intensive suite tests
# timing_intensive: time-oriented tests that are sensitive to race conditions
# sparse_backend: tests that should run on multiple backends, not necessarily all
[sqla_testing]
requirement_cls=sqlalchemy_hsqldb.requirements:HyperSqlRequirements
#- profile_file=test/profiles.txt
profile_file=test/profiles_hsqldb.txt
# TODO: verify where 'profiles_hsqldb.txt' is created. Doesn't appear to happen on a failed test.
# The section above contains configuration used by SQLAlchemy's test plugin.
# TODO: ensure the value of requiremnt_cls is correct...
# The 'requirement_cls' above links to the Requirements class in Requirements.py
[db]
default = hsqldb+jaydebeapi://SA:@localhost:9001/hsqldb_test
sqlite = sqlite:///:memory:
#- Section added to mirror setup.cfg of access dialect, but currently unused.