https://forge.softwareheritage.org/source/swh-scheduler.git
Revision 9beef90f77cea76353a40d75d304c4b6a5c3e1e0 authored by Antoine R. Dumont (@ardumont) on 30 January 2023, 16:05:17 UTC, committed by Antoine R. Dumont (@ardumont) on 31 January 2023, 16:59:14 UTC
When not provided, this uses the logging configuration coded in the scheduler (as
before).

Refs. swh/infra/sysadm-environment#4524
1 parent bebf298
Raw File
Tip revision: 9beef90f77cea76353a40d75d304c4b6a5c3e1e0 authored by Antoine R. Dumont (@ardumont) on 30 January 2023, 16:05:17 UTC
Configure logging from environment variable SWH_LOG_CONFIG
Tip revision: 9beef90
conftest.py
# Copyright (C) 2020  The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information


from hypothesis import settings

# define tests profile. Full documentation is at:
# https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
settings.register_profile("fast", max_examples=5, deadline=5000)
settings.register_profile("slow", max_examples=20, deadline=5000)


pytest_plugins = [
    "swh.scheduler.pytest_plugin",
    "swh.core.db.pytest_plugin",
    "swh.storage.pytest_plugin",
]
back to top