Skip to content

Commit

Permalink
Tests: Remove unused kwargs from create_component
Browse files Browse the repository at this point in the history
Any caller should use create_po instead, this is no args wrapper.
  • Loading branch information
nijel committed Jun 30, 2020
1 parent 011d0d9 commit 30d3b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weblate/trans/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ def _create_component(
**kwargs
)

def create_component(self, **kwargs):
def create_component(self):
"""Wrapper method for providing test component."""
return self.create_po(**kwargs)
return self.create_po()

def create_po(self, **kwargs):
return self._create_component("po", "po/*.po", **kwargs)
Expand Down

0 comments on commit 30d3b29

Please sign in to comment.