debian/lister: Use url parameter name instead of origin
within the scheduled task. Related D2135
This commit is contained in:
parent
56d7cff6e1
commit
7c247c8a4a
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ class DistributionSnapshot(SQLBase):
|
|||
'arguments': {
|
||||
'args': [],
|
||||
'kwargs': {
|
||||
'origin': origin,
|
||||
'url': origin,
|
||||
'date': self.date.isoformat(),
|
||||
'packages': package_versions,
|
||||
},
|
||||
|
|
|
@ -27,7 +27,7 @@ def test_lister_debian(lister_debian, datadir, requests_mock_datadir):
|
|||
|
||||
# kwargs
|
||||
kwargs = row['arguments']['kwargs']
|
||||
assert set(kwargs.keys()) == {'origin', 'date', 'packages'}
|
||||
assert set(kwargs.keys()) == {'url', 'date', 'packages'}
|
||||
|
||||
logger.debug('kwargs: %s', kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue