Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344579
conftest.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
703 B
Subscribers
None
conftest.py
View Options
# Copyright (C) 2019-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
import
pytest
@pytest.fixture
def
lister_under_test
():
return
"github"
@pytest.fixture
def
lister_github
(
swh_lister
):
for
task_type
in
[
{
"type"
:
"load-git"
,
"description"
:
"Load git repository"
,
"backend_name"
:
"swh.loader.git.tasks.UpdateGitRepository"
,
"default_interval"
:
"1 day"
,
},
]:
swh_lister
.
scheduler
.
create_task_type
(
task_type
)
return
swh_lister
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Fri, Jul 4, 2:35 PM (5 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3367021
Attached To
rDLS Listers
Event Timeline
Log In to Comment