chaoss / grimoirelab-elk

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

[enriched/github] Fix unexpected keyword argument 'alias' in onion #1082

Closed zhquan closed 1 year ago

zhquan commented 1 year ago

This code fixes TypeError in github pull requests category 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 3283680375


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/github.py 35 76.53%
<!-- Total: 35 -->
Totals Coverage Status
Change from base Build 3272832390: 0.05%
Covered Lines: 9024
Relevant Lines: 10912

💛 - Coveralls
sduenas commented 1 year ago

Merged