Revision 536428b9a069886b54bfb4e1ef140c9f3cf335d0 authored by Antoine Lambert on 11 March 2024, 15:33:53 UTC, committed by Antoine Lambert on 11 March 2024, 16:20:13 UTC
Update the listed_origins table primary key by taking into account the
extra_loader_arguments column.

It enables to record listed origins with same origin URL and visit type
but with different loader arguments.

Related to swh/infra/sysadm-environment#5263.
1 parent fb74661
Raw File
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.storage.pytest_plugin",
]
back to top