-
Notifications
You must be signed in to change notification settings - Fork 1
/
pytest.ini
103 lines (77 loc) · 1.67 KB
/
pytest.ini
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
###
# app configuration
# https://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/narr/environment.html
###
[app:main]
use = call:canopus:main
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
###
# Webpack configuration
###
webpack.manifest = src/canopus/static/manifest.json
###
# Rollbar configuration
###
rollbar.access_token =
rollbar.environment = test
rollbar.branch = master
rollbar.enabled = false
###
# SQLAlchemy configuration
###
sqlalchemy.url = postgresql+psycopg2://josuemontano:@127.0.0.1:5432/test
# Choose very conservative SQLAlchemy pool settings, so that we are likely to run issues during local development if we are leaking database connections
sqlalchemy.pool_size = 4
sqlalchemy.max_overflow = 0
retry.attempts = 3
###
# Social Login Apps IDs
###
google.app_id =
windows.app_id =
###
# alembic configuration
###
[alembic]
script_location = alembic
sqlalchemy.url = postgresql+psycopg2://josuemontano:@127.0.0.1:5432/test
###
# pytest configuration
###
[pytest]
testpaths = tests
python_files = *.py
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
listen = *:6543
[loggers]
keys = root
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
[logger_alembic]
level = INFO
handlers =
qualname = alembic
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s