-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpytest.ini
19 lines (18 loc) · 1.37 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[pytest]
env =
AWS_DEFAULT_REGION=eu-west-2
addopts = --tb=short --numprocesses auto --dist loadgroup
; You may need to use the addopts setting below to unbreak debugging in your IDE
; addopts = --tb=short
markers =
skip_redis_fixture: redis fixture is applied with autouse but we do not use this mock when testing the redis function itself
skip_opensearch_fixture: opensearch fixture is applied with autouse but we do not use this mock when testing the redis function itself
filterwarnings =
ignore::UserWarning:moto.cloudformation.parsing.*
; Tried to parse AWS::Logs::SubscriptionFilter but it's not supported by moto's CloudFormation implementation
ignore::DeprecationWarning:botocore.auth.*
; datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)
ignore::DeprecationWarning:dateutil.tz.*
; datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC)
ignore::DeprecationWarning:importlib._bootstrap.*
; Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.