remove unused code

This commit is contained in:
Matthias 2022-02-20 04:23:19 +01:00
parent 3f8ba0cd8e
commit 68d182d67b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -41,7 +41,7 @@ class BomUploadTest(InvenTreeAPITestCase):
assembly=False,
)
def post_bom(self, filename, file_data, part=None, clear_existing=None, expected_code=None, content_type='text/plain'):
def post_bom(self, filename, file_data, clear_existing=None, expected_code=None, content_type='text/plain'):
bom_file = SimpleUploadedFile(
filename,
@ -49,9 +49,6 @@ class BomUploadTest(InvenTreeAPITestCase):
content_type=content_type,
)
if part is None:
part = self.part.pk
if clear_existing is None:
clear_existing = False