chaoss / grimoirelab-elk

GNU General Public License v3.0
58 stars 121 forks source link

[enriched/gitlab] Fix unexpected keyword argument 'alias' in onion #1080

Closed zhquan closed 1 year ago

zhquan commented 1 year ago

This code fixes TypeError since the name of the aliases is no longer harcoded, now it is passed by parameter.

Error:

TypeError: enrich_onion() got an unexpected keyword argument 'alias'

Test added accordingly.

Signed-off-by: Quan Zhou quan@bitergia.com

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3272430933


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/git.py 1 72.42%
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/enrich.py 2 73.63%
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/gerrit.py 2 98.42%
<!-- Total: 5 -->
Totals Coverage Status
Change from base Build 3135716730: -0.2%
Covered Lines: 8843
Relevant Lines: 10736

💛 - Coveralls