diff options
Diffstat (limited to 'patchwork/tests/utils.py')
-rw-r--r-- | patchwork/tests/utils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/patchwork/tests/utils.py b/patchwork/tests/utils.py index 83bd66a..c464979 100644 --- a/patchwork/tests/utils.py +++ b/patchwork/tests/utils.py @@ -191,9 +191,6 @@ def create_patch(**kwargs): } values.update(kwargs) - if 'patch_project' not in values: - values['patch_project'] = values['project'] - patch = Patch.objects.create(**values) if series: @@ -312,7 +309,7 @@ def create_series_reference(**kwargs): def _create_submissions(create_func, count=1, **kwargs): - """Create 'count' Submission-based objects. + """Create 'count' SubmissionMixin-based objects. Args: count (int): Number of patches to create |