Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/phabricator/tests/conftest.py
Show All 12 Lines | def lister_phabricator(swh_listers): | ||||
lister = swh_listers['phabricator'] | lister = swh_listers['phabricator'] | ||||
# Amend the credentials | # Amend the credentials | ||||
lister.config = { | lister.config = { | ||||
'cache_responses': False, | 'cache_responses': False, | ||||
'credentials': { | 'credentials': { | ||||
'phabricator': { | 'phabricator': { | ||||
lister.instance: [{ | lister.instance: [{ | ||||
'username': 'user', | |||||
'password': 'foo' | 'password': 'foo' | ||||
}] | }] | ||||
}} | }} | ||||
} | } | ||||
return lister | return lister |